[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: tomcat web server and dynamic XSL

Subject: RE: tomcat web server and dynamic XSL
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 27 Apr 2004 10:52:05 +0100
RE:  tomcat web server and dynamic XSL
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.