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

Re: [xml] separator ':' used in attribute value



On Tue, Jan 07, 2003 at 05:29:54AM -0800, Mehdi Ouchia wrote:
> High, 
> 
> I'm a new user of libxml2. And i've got a little
> problem : 
> 
> when i try to parse, by means of xmlParseFile(), a
> document including this element : 
> 
> <pthcsock xmlns="jabber:config:pth-csock">
> 
> the node "pthcsock" is well recognized, however it has
> no attribute. Is it because the value of the attribute

  the attribute is a namespace definition. That namespace
definition is stored in the nsDefs list of namespace definition
attached to the node. It is not lost.

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]