Hi,

I would like to know if there's an equivalent to xmlGetNodePath() which also
includes elements propoerties in returned xpath expression.

Example:
<foo id="1">
  <bar id="0"/>
</foo>
<foo id="2">
  <bar id="0"/>
</foo>

So I would like to get /f...@id='1']/b...@id='0'] instead of just /foo/bar
in case I give a reference to the first "bar" to the function. Otherwise I
wouldn't be able to get an unambiguous result when using this xpath
expression with xmlXpathEvalExpression.

Kind regards
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to