The article you refer to is out of date. You can use <c:import> to retrieve them from external URLs or via the RequestDispatcher: e.g.,
<c:import var="xml" url="http://my/file.xml"/> <c:import var="xslt url="/stylesheets/1.xslt"/> -- Shawn Bayern "JSP Standard Tag Library" http://www.jstlbook.com (coming this summer from Manning Publications) On Sun, 19 May 2002, Cliffano Subagio wrote: > How to use external .xml and .xsl files with x:transform? > > I can't find any examples at standard-examples.war. > And I had a look at an example here > http://www.onjava.com/pub/a/pub/a/onjava/2002/05/08/jstl.html?page=3 > They recommend this > <c:import url="/books" var="xml"/> > <c:import url="/WEB-INF/xslt/bookDisplay.xsl" var="xslt"/> > <x:transform source="${xml}" xslt="${xslt}"/> > > However, in JSTL beta 1, there is no attribute source in x:transform. > > The examples at standard-examples.war (/xml/Transform.jsp) uses c:set to set > the content of the xml and xslt, how to grab them from the external files and > how to use them in x:transform? > > TIA, > Cliffano Subagio > > ===== > Cliffano Subagio > > http://briefcase.yahoo.com.au - Yahoo! Briefcase > - Save your important files online for easy access! > > -- > 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]>