Just to see if your tag's output is being handled correctly, how about trying this:
<c:set var="xml"> <tim:profile/> </c:set> <c:out value="${xml}"/> You should see the same as if you'd just used: <tim:profile/> -- Martin Cooper > -----Original Message----- > From: Tim Ringwood [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 9:45 AM > To: [EMAIL PROTECTED] > Subject: Custom Tags inside JSTL tags. > > > I have the following basic example, which has hard > coded XML, working: > > <c:import url="profile.xsl" var="xslt"/> > <x:transform xslt="${xslt}"> > <?xml version="1.0" encoding="ISO-8859-1" ?> > <profile><zip>12603</zip></profile> > </x:transform> > > But my XML is dynamic, and my custom tag: > <tim:profile/> exports out valid XML. > > So I thought: > > <c:import url="profile.xsl" var="xslt"> > <x:transform xslt="${xslt}"> > <tim:profile/> > </x:transform> > > Would work but it doesn't. Instead I get nice blank > screen and no errors. I asssume this is because my > custom tag is being treated as the XML not as a custom > tag. > > So how I can my custom tag to spit out XML and then > have it transformed.? > > thanks again, > > tim > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>