Subject: RE: [xsl] tomcat web server and dynamic XSL From: "Michael Kay" <mhk@xxxxxxxxx> Date: Tue, 27 Apr 2004 10:52:05 +0100 |
Are you perhaps imagining that tomcat, when asked to serve an XML file, will automatically look for the <?xml-stylesheet?> processing instruction and apply an XSLT transformation? That's not the way it works. You have to write some servlet code (or install some code that's already been written) that uses the JAXP interface to invoke the transformation. Michael Kay > -----Original Message----- > From: Nikolas Nehmer [mailto:Nikolas.Nehmer@xxxxxxxxxxx] > Sent: 27 April 2004 09:30 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] tomcat web server and dynamic XSL > > > Hi, > > i want to use XSL Transformed XML documents with a tomcat webserver. > Every XML file is linked with a include hierarchy of XSL > stylesheets. On > my local computer in my local folders this works fine. The browser > transforms the XML file by the rules defined in the XSL hierarchy. On > the webserver this doesn't seem to work. The browser has access to the > xml file but it does not seem to get the whole hierarchy of xsl files. > Is this a general problem or just a problem with my web server > configuration? If I point directly to the XSL file the > browser also gets > access to it but not when it is defined in the xml stylesheet tag. > > Best regards, > Nick
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] tomcat web server and dyn, Nikolas Nehmer | Thread | RE: [xsl] tomcat web server and dyn, David . Pawson |
AW: [xsl] tomcat web server and dyn, Nikolas Nehmer | Date | Re: [xsl] xsl:value-of problem, Jeni Tennison |
Month |