Re: [xml] Namespace Handling



On Wed, Sep 10, 2003 at 11:08:04AM +0200, Tobias Reif wrote:
Daniel Veillard wrote:
 >   if bj is defined on the root node, then fine,

It still could be remapped to a different namespace name somewhere in 
the document, no?

 sure
 <root bj="foo">
   <sub bj="bar">
     <bj:gnus/>
   </sub>
 </root>

and even unmapped in the upcoming 1.1 version

 <?xml version="1.1"?>
 <root bj="foo">
   <sub bj="">
     <gnus/>
   </sub>
 </root>

But 1.1 is not yet implemented in libxml2

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]