[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: One XML doc - multiple Stylesheets
  • From: "xml er" <xml@n...>
  • Date: Sat, 27 Jul 2002 12:00:11 -0800
  • Return-receipt-to: xml@n...

Hello All -
Should be a simple question, I must be overlooking something very fundamental. Normally when I create XML pages I place the following in the xml page if I wanted to use the WAP version of the stylesheet:

<?xml-stylesheet href=&#8221;style-wml.xsl&#8221; type=&#8221;text/xsl&#8221; media=&#8221;wap&#8221;?>
<?xml-stylesheet href=&#8221;style-html.xsl&#8221; type=&#8221;text/html&#8221; media=&#8221;html&#8221;?>

My problem is that I want to use multiple stylesheets on only xml document (one for PDF, one for HTML, WAP, etc). How do I solve the problem of using one XML doc, yet have them transform to multiple formats. Am I required to use something like Cocoon to do this?

Thanks much

--ed


________________________________________________________________
To get your free Web-based E-mail go to http://www.nandomail.com

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member