[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: [xml] help: how to get content of an element via XPath in lib xml2
- From: andy glew amd com
- To: veillard redhat com
- Cc: xml gnome org
- Subject: RE: [xml] help: how to get content of an element via XPath in lib xml2
- Date: Thu, 24 Apr 2003 11:40:25 -0700
> You understand that
> xmlXPathEvalExpression(document,"/record/field"))
> returns a node set, that a node set may potentially contain 0, 1 or N
> nodes. A nodeset is not a node, you can't xmlGetContent() the result !
I understand the difference between nodesets and nodes.
Actually xmlXPathEvalExpression
returns an xmlXPathObjectPtr.
I am having trouble figuring out
how that maps into a xmlNodeSetPtr.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]