Re: [xsl] XSL 2.0 and .NET and VB

Subject: Re: [xsl] XSL 2.0 and .NET and VB
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Fri, 29 Jun 2007 22:16:16 +0200
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
- ------------------------------------------------------------------
       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!
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla -


Current Thread