Re: [xml] usage for xmlXPathNodeSetAddNs
- From: Daniel Veillard <veillard redhat com>
- To: Prashant R <ramapra gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] usage for xmlXPathNodeSetAddNs
- Date: Wed, 17 Dec 2008 18:13:27 +0100
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]