Re: [xml] usage for xmlXPathNodeSetAddNs



On Thu, Dec 11, 2008 at 02:08:32PM -0800, Prashant R wrote:
I have a xmlNodePtr variable after parsing an xml file  .

I am still  unclear about the usage for xmlXPathNodeSetAddNs(xmlNodeSetPtr
cur, xmlNodePtr node, xmlNsPtr ns)

Specifically as to what I need to pass for xmlNSPtr ns

  this is for adding namespace nodes like the comnment on the function
indicates, use xmlXPathNodeSetAdd() instead,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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