Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xml:stylesheet use in document with multiple stylesheet options xml:stylesheet use in document with multiple stylesheet optionsTo: NULL Date: 8/2/2005 10:26:00 AM Hi, I have a Schema and a number of different XSLT stylesheets to translate to different things. One stylesheet translates it to HTML. I'd like to generate the XML files such that when loaded by a browser they are automatically translated into XML and I've accomplished that by inserting the following processing instruction when I generate the file: <?xml:stylesheet type="text/xsl" href="toHtml.xslt" version="1.0"?> However I would also like to arrange things such that I can use OTHER XSLT stylesheets on the XML file by manually invoking XSLT. However, when I try to use another stylesheet on an XML file with that processing instruction I get the following error msg from XALAN: file:///extra/blickstein/user_150_GIRML/CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/hp-ux_ia64w_compiler3/debug/girml.xml; Line #2; Column #6; XSLT Error (javax.xml.transform.TransformerException): The processing instruction target matching "[xX][mM][lL]" is not allowed. Is there a way to have a sort of "default" stylesheet specified via a processing instruction without making the file unuseable with a different stylesheet? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
