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 Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

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