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

RE: xslt version of Microsoft's Defaultss.xsl

Subject: RE: xslt version of Microsoft's Defaultss.xsl
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 15 May 2002 09:52:11 -0700
defaultss.xsl
Bryan,

You will find discussion and a working example of passing parameters to
a client-side XSLT processor in MSXML in [1]. But you want to avoid
client-side transformations because you do not have control over the
software and configuration of the client workstation.

Your comments seem to suggest that you would like to be able to specify
parameters to an XSLT transformation in the <?xml-stylesheet?>
processing instruction in the XML source document, or something like
that.

As I talk about in [1], processing instructions are kind of falling out
of favor in many XML communities. Consider that <?xml-stylesheet?> is
the only processing instruction (that I know of) that is specified
anywhere in the W3C. I don't imagine there will be much support in the
W3C membership for extending the <?xml-stylesheet?> PI, if that is what
you're looking for. But, heck, I've been wrong before.

What's more, using Internet Explorer and MSXML, it is possible to have
MSXML 3.0 installed, but configured in side-by-side mode, and the
<?xml-stylesheet?> processing instruction will only invoke the dreaded
WD-xsl processor. Yuk. That is, even with <?xml-stylesheet?> you are
still dependent on the configuration of the client workstation.

One alternative is to do the transformation on the server-side. I
understand that we can expect to see servers with XSLT built into the
hardware or firmware sometime in the next couple of years, server-side
transformations are that important. But, granted, I shouldn't have to
make a round-trip to the server and back just to collapse or expand the
view of some data, that is bad design and wastes bandwidth.

If you know that the clients are using IE, then you can write some
script in the HTML page to detect that the required version of MSXML is
installed, ala the MSXML Sniffer. If the required version is absent,
display an error message and be done. Otherwise, write client-side
transformations to your heart's content. How about that?

Cheers,
Stuart 

[1] http://www.perfectxml.com/articles/xml/XsltInMsxml.asp



 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.