Re: [xml] xmlGetProp



On Wed, Dec 28, 2005 at 10:13:27PM +0000, Theodore H. Smith wrote:
Hi people,

Is there a way to get an XML attribute, without having to worry about  
xmlFree? That is, get the actual char* with your xml tree node  
structure.

  no, because an attribute content can contain entities references
and hence can be made of multiple distincts node. The value you're
looking for may not exist as a contiguous string anywhere in the document.

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]