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/ [email protected] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
