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

Re: XSLT 2.0 HTML output of namespace nodes

Subject: Re: XSLT 2.0 HTML output of namespace nodes
From: Mike Brown <mike@xxxxxxxx>
Date: Sun, 3 Mar 2002 22:36:00 -0700 (MST)
xslt dont output namespace
> As a matter of historical fact, I don't know what the original rationale
> was. I have assumed in the past, with no particular evidence, that it was
> done for the convenience of the users of products that allow HTML documents
> to contain XML data islands.

I just think that's such an edge case that it makes more sense to
have the default behavior of the HTML output method to output something
that is more HTML-like than XML-like. If users need to override this
for their wacky 'data islands'.

> I can't see any particular reason for doing anything else with elements that
> are not part of the HTML specification, unless we adopt the draconian step
> of saying that everything output by the HTML output method must be valid
> HTML.

Taking it to that extreme wasn't part of my argument.

I just don't think that an XSLT processor should only be expected to go beyond
the definition of HTML when serializing a result tree as "HTML". To require
that it do XML-like things, rather than making this an option that is not
chosen by default, is getting into the territory of guessing what pseudo-HTML
a minority of users might want to abuse this output method for. Most XSLT
users don't want to produce pseudo-HTML with prefixed element names and/or
xmlns attributes. So this is the reason that I see for doing something else.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/


 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.