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

Re: XSL 2.0 and .NET and VB

Subject: Re: XSL 2.0 and .NET and VB
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Fri, 29 Jun 2007 22:16:16 +0200
Re:  XSL 2.0 and .NET and VB
Hash: SHA1

M. David Peterson wrote:

> You will find that you can send nothing but pure, simple, and raw XML
> that is transformed via client-side XSLT is *MUCH* more efficient
> because once the initial base of transformation files (both base and
> imported) has been cached by the browser, your doing nothing but sending
> the data itself with each request.  You should also consider the fact
> that using client-side XSLT the browser skips the relatively slow SGML
> parser and moves directly to the relatively fast XML parser,
> transforming the result directly into a DOM object.  As such, your page
> load time increase dramatically.  

I don't think that current browsers are able to incrementally display
page which was generated client-side from XML using XSLT. You have to
wait till XML is downloaded and DOM is constructed, then you have to
wait till XSLT transforms DOM into another DOM and only after that you
can see something rendered. For slower connections this could be very

Moreover, if you invoke XSLT by using <?xml-stylesheet?> PI then there
is a known problem of IE which strips all whitespace nodes from input
document. You can overcome this problem by invoking transformation from
JavaScript, but there is no cross-platform Javascript API for XSLT, so
you have to use some bridging library like Sarissa. And there are still
user agents that doesn't do XSLT -- search engines and some minor, but
still used browsers. So it is not that simple, and producing HTML on
server means that you don't have to cope with many annoying browser quirks.

- --
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@xxxxxxxx      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
Be in, register for XML Prague 2007 today! http://www.xmlprague.cz
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Current Thread


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.
First Name
Last Name
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.