[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Cross browser PIs
Just thought I would pass this on if you are writing xml with stylesheet PIs and you want them to work cross browser Msxml old versions: will use the first xml-stylesheet PI in the document to transform regardles Msxml new versions: will honour the alternate="yes/no" pseudo attribute in the document to transform Netscape new versions: will use the last xml-stylesheet PI in the document to transform regardles So if you have 2 or 3 stylesheets MS-TR-WD.xsl MS-XSL-Transform.xsl NS-XSL-Transform.xsl <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" title="old msxsl version" href="MS-TR-WD.xsl" alternate="yes" media="screen"?> <?xml-stylesheet type="text/xsl" title="new msxml version" href="MS-XSL-Transform.xsl" alternate="no" media="screen"?> <?xml-stylesheet type="text/xsl" title="any new version" href="XSL-Transform.xsl" alternate="yes" media="screen"?> <?xml-stylesheet type="text/xsl" title="netscape new version" href="NS-XSL-Transform.xsl" alternate="yes" media="screen"?> <hunky-dory /> Everyone will be happy ;-) Well as happy as anyone can be with netscape... Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|