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

Re: Extra xmlns=""

Subject: Re: Extra xmlns=""
From: Laurence O Garfield <lgarfiel@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 09:54:56 -0500 (CDT)
extra xmlns tag xalan
On Tue, 17 Jul 2001, David Carlisle wrote:

> As Mike commented, two of those systems are getting this wrong.
> Unfortunately you haven't shown enough of the stylesheet to determine
> which. (just need to see the xsl:stylesheet start tag)
>
> <xsl:template match="article">
>  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>
> so here <html is in the XHTML namespace as are all unprefixed elements
> _in that template_.


Ah!  Now I see.

I checked the <xsl:stylesheet> tag, and I did not have a no-prefix
namespace defined.  When I added

xmlns="http://www/w3c/org/1999/xhtml"

to the <xsl:stylesheet> tag and ran it again, I did not get the extra
undeclarations.  So it appears that MSXML and XT were correct, and Xalan
was in error.

Thanks, Dave!  I guess I should let the Xalan folks know... :-)

--Larry Garfield


 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.