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

Re: xmlns=""

Subject: Re: xmlns=""
From: David N Bertoni/Cambridge/IBM <david_n_bertoni@xxxxxxxxxx>
Date: Tue, 11 Mar 2003 09:10:56 -0800
namespace stylesheet



> It seems I have still things to understand about namespaces. I made a
> stylesheet to convert an in-house XML format to XHTML 1.1. For some
reason,
> I get a xmlns="" on each top-level element beneath <body>. If I remove
the
> default namespace declaration in the <html> root element, they disappear.

We would need to see your source document and the full stylesheet to be
certain, but likely the problem is your stylesheet contains literal result
elements that have a null namespace URI, so they are not in the namespace "
http://www.w3.org/1999/xhtml."  Or, you may be copying elements from the
source document which have a null namespace URI.  In either case, the
processor must preserve the namespace URI of the elements, so it generates
a namespace declaration to "undeclare" the default namespace.

Dave


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xmlns=""
    • Gustaf Liljegren - Tue, 11 Mar 2003 11:30:49 -0500 (EST)
      • David N Bertoni/Cambridge/IBM - Tue, 11 Mar 2003 12:08:40 -0500 (EST) <=
      • Michael Kay - Tue, 11 Mar 2003 14:00:14 -0500 (EST)

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.