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

AW: AW: AW: tomcat web server and dynamic XSL

Subject: AW: AW: AW: tomcat web server and dynamic XSL
From: Nikolas.Nehmer@xxxxxxxxxxx (Nikolas Nehmer)
Date: Tue, 27 Apr 2004 13:16:34 +0200
tomcat stylesheet
Yes right i am using xsl. Without editing the mime entry it seems to
work for mozilla but not IE. I'll try to edit the mime type soon and I
will report if it worked ;-)


|-----Urspr|ngliche Nachricht-----
|Von: Emmanuil Batsis (Manos) [mailto:mbatsis@xxxxxxxxxxx]
|Gesendet: Dienstag, 27. April 2004 12:57
|An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|Betreff: Re: AW: AW:  tomcat web server and dynamic XSL
|
|If it works for your browser when using the filesystem it can work for
|your browser when... browsing ;-)
|
|Go to your <Tomcat installation directory>/conf/web.xml and add the
|following mime entry (after you back up and make sure you dont have to
|edit an existing one):
|
|<mime-mapping>
|<extension>xsl</extension>
|<mime-type>text/xml</mime-type>
|</mime-mapping>
|
|You are using .xsl not .xslt, right?
|
|hth,
|
|Manos
|
|Nikolas Nehmer wrote:
|
|> I don't know?!(&"&%'(
|>
|> Maybe the dynamic delivery of XSL files to the browser, dependent on
the
|> stylesheet tag in the xml file is not possible? I thought the Browser
|> would create another http request when he realizes that he needs a
|> stylesheet. But obviously this does not work and i have to transform
the
|> xml files on server side?!
|>
|> Best regards,
|> Nick
|>
|> |-----Urspr|ngliche Nachricht-----
|> |Von: Emmanuil Batsis (Manos) [mailto:mbatsis@xxxxxxxxxxx]
|> |Gesendet: Dienstag, 27. April 2004 12:32
|> |An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|> |Betreff: Re: AW:  tomcat web server and dynamic XSL
|> |
|> |Ah. Missed the fact that XML and XSL are two different directories.
|> Your
|> |path is right so this could be a MIME issue?
|> |
|> |Emmanuil Batsis (Manos) wrote:
|> |
|> |>> The XML file was saved in
|> Tomcat/webapps/myproject/XML/list/filename.xml
|> |>> The XSL file was saved in
|> Tomcat/webapps/myproject/XSL/visualisation.xsl
|> |>> And thats the stylesheet tag is used in my xml file:
|> |>> <?xml-stylesheet type="text/xsl"
|> href="../../XSL/visualisation.xsl"?>
|> |>
|> |>
|> |> Then that should be (you only want one level up, not two)
|> |>
|> |> <?xml-stylesheet type="text/xsl" href="../XSL/visualisation.xsl"?>
|> |>
|> |> Cheers,
|> |>
|> |
|> |--
|> |Manos Batsis
|> |
|> |     _  __    __                    __
|> |    / |/ /__ / /____ __ _ ___ _____/ /_
|> |   /    / -_) __(_-</  ' Y _ `/ __/ __/
|> |  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|> |
|> |
|> |http://www.netsmart.gr
|> |mailto:mbatsisSPAM_TRAP@xxxxxxxxxxx
|> |tel:+302103240940
|> |http://forte.netsmart.gr/foaf/manos_foaf.rdf
|> |
|> |
|> |
|>
|>
|>
|>
|>
|
|--
|Manos Batsis
|
|     _  __    __                    __
|    / |/ /__ / /____ __ _ ___ _____/ /_
|   /    / -_) __(_-</  ' Y _ `/ __/ __/
|  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|
|
|http://www.netsmart.gr
|mailto:mbatsisSPAM_TRAP@xxxxxxxxxxx
|tel:+302103240940
|http://forte.netsmart.gr/foaf/manos_foaf.rdf
|
|
|

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.