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

RE: namespace frustration

Subject: RE: namespace frustration
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 23 Nov 1999 10:09:35 -0700
RE: namespace frustration
> I'm not sure the spec says whether or not xmlns
> should be output in HTML.

http://www.w3.org/TR/xslt#section-HTML-Output-Method

"The version attribute indicates the version of the HTML. The default value
is 4.0, which specifies that the result should be output as HTML conforming
to the HTML 4.0 Recommendation."

XML Namespaces only apply to XML documents. An HTML 4.01 (or lower) document
is not an XML document. So I would say no, HTML output should not include
any namespace information.

But it might be safe to include that kind of thing, since xmlns as an
attribute should have no special meaning in HTML and wouldn't affect the
rendering of the document. It also may be desirable if the HTML is being
processed by an application that will take that attribute into account as if
it were equivalent to an XML namespace declaration.


 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.