[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Cross browser PIs

Subject: Cross browser PIs
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 13 Dec 2001 21:33:54 -0000
cross 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.