"John" == John <john-xsl-list(_at_)jpw3(_dot_)com> writes:
John> I have an XML file on a web server which references an XSL
John> with code as follows:
John> <?xml-stylesheet type="text/xsl" href="somefile.xsl"?>
John> When IE or Firefox requests this XML file, the browser
John> detects the stylesheet reference and applies it to the XML
John> to transform it into HTML. This works great, but what if I
John> want to let the user choose from multiple XSL files which
John> can be applied to the same XML?
You have to code alternate="yes" and title="some descriptive choice-name"
on the xml-stylesheet PI.
And least, that's how it's supposed to work - I haven't tried it.
--
Colin Paul Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--