OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   One XML doc - multiple Stylesheets

[ Lists Home | Date Index | Thread Index ]

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


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS