xsl-list
[Top] [All Lists]

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

2007-06-29 13:16:18
-----BEGIN PGP SIGNED MESSAGE-----
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
annoying.

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(_at_)kosek(_dot_)cz      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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGhWiQzwmSw7n0dR4RAocvAJ9OOa6g6H8GzTGlkG6Zl31jCqnFWwCeM8AN
HxVu+3KTQ9+gw69Hwxuv/kM=
=wGq/
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>