Re: [xml] Undefined character entities and libxml



On Sat, Dec 17, 2005 at 08:51:26PM -0500, Jon Smirl wrote:
What is the logic behind setting the QName namespace to null instead
of picking up the default namespace definition from the target
document? If it picked up the default from the document the query
would have worked.

  What's the logic from "the default namespace from the document" ?
Answer: None e.g.

    <doc xmlns="http://foo";>
        <div/>
        <div xmlns="http://bar"/>
    </div>

You still need to get a bit more familiar with namespaces I guess.

Daniel

-- 
Daniel Veillard      | Red Hat http://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]