Water Street is my second home, only 2 blocks away :-) If you do a pure call to XML from your browser, you will need to reference the XSL document which will be used by your 'browser' to do the transformation as Jacob Kjome pointed out.
Probably the easiest way to test transformations is to do a simple jsp with JSTL that takes in the XML and the XSL document as parameters. Regards, Jacob Hookom Comprehensive Computer Science University of Wisconsin, Eau Claire | -----Original Message----- | From: Tod Thomas [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, August 13, 2002 8:55 PM | To: Tomcat Users List | Subject: Re: Can this be done...? | | On Tue, 13 Aug 2002 20:33:38 -0500 | "Jacob Hookom" <[EMAIL PROTECTED]> wrote: | | > You might want to look at installing JSTL under the Taglibs "Standard" | > | > It provides simple xslt transformation by selecting a file as a source | > and a file as the xsl document, the download includes deployable wars | > that demonstrate this functionality. | > | > -Jake | | Thanks, I'll have a look. But was my original thinking wrong? Should I | expect tomcat to just perform the transform because I've set my xml/xsl up | correctly, is there something extra I need to do, or is it just not | designed to do that elegantly? | | Say hi to Water St. for me. | | | > | -----Original Message----- | > | From: Tod Thomas [mailto:[EMAIL PROTECTED]] | > | Sent: Tuesday, August 13, 2002 7:31 PM | > | To: [EMAIL PROTECTED] | > | Subject: Can this be done...? | > | | > | I want to use tomcat on my machine to test XSLT. | > | | > | I have a directory called Tomcat/webapps/testxslt. There I have | > placed my | > | test.xml and test.xsl files. I have copied xalan.jar, xml-apis.jar, | > and | > | xerces-Impl.jar into my $JAVA_HOME/jre/lib/endorsed directory. Using | > | command line Xalan I have validated that both files are well formed | > and | > | work as expected. Using a browser I can get to both the xml and xsl | > pages | > | and view their contents, but the transformation never occurs. I do | > have | > | an href in the xml pointing to the xsl file. | > | | > | Am I wrong in thinking I can do this? Is there maybe something I need | > to | > | do to one of the configuration files to make this happen? I really | > don't | > | need the functionality of Cocoon yet so this scaled down testing | > platform | > | using Tomcat only would serve me well. Any suggestions? | > | | > | Thanks in advance. | > | | > | -- | > | To unsubscribe, e-mail: <mailto:tomcat-user- | > | [EMAIL PROTECTED]> | > | For additional commands, e-mail: <mailto:tomcat-user- | > | [EMAIL PROTECTED]> | > | | > | --- | > | Incoming mail is certified Virus Free. | > | Checked by AVG anti-virus system (http://www.grisoft.com). | > | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | > | | > | > --- | > Outgoing mail is certified Virus Free. | > Checked by AVG anti-virus system (http://www.grisoft.com). | > Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | > | > | > | > -- | > To unsubscribe, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> | > For additional commands, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> | > | | -- | To unsubscribe, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> | For additional commands, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
