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

Re: Using xsl:output in browsers, was: Re XHTML

Subject: Re: Using xsl:output in browsers, was: Re XHTML html validation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 20 Feb 2007 14:17:54 GMT
Re:  Using xsl:output in browsers
> Life's much simpler when you serve HTML to the browser and do
> everything else on the server that you have full control of.

Ah but some people want to distribute _documents_ (software manuals for
instance) that end users place on their own server. In that case it's a
lot easier to set things up for a client side transform that works on
(at least) some specifiable range of clients, rather than try to
document how to set up a server side transformation setup that works on
some corporate IIS box running some unknown flavour of IIs or apache
with some unknown number of mod_zzz extensions installed. Also if the
document is XHTML+SVG+MathML+XForms (for instance) it's not immediately
clear what "HTML" you can serve to gain the same effect.

If you take the view that documents last for a thousand years, but
server scripting technology is lucky to last a decade, then specifying
the linking to the required presentation rules in a declarative PI
rather than embedding that linking in some javascript in a separate html
file has some definite appeal.

No argument with your other points though, there are of course cons to
using the PI as presently specified (and implemented). Another CON that
I haven't seen mentioned (although I've just skimed the thread after
having been away for a while) is that if you serve the file as XML with
a PI, it displays OK in browsers but  search engines may not index it or
may (google) index it but list it as unknown format and prompt the user
to view a (mangled) "view as html" version of the document instead.
Of course if the document is only loaded via some javscript on an html
page, it may not get indexed at all by search engines, so that CON might
apply to other technologies as well.

David

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.