[xmlsec] XPointer problem
Aleksey Sanin
aleksey at aleksey.com
Tue Mar 11 08:33:41 PST 2003
Ok, it was quick :) According to [1] and [2], the two expressions "/1/2"
and
"xpointer(/1/2)" are *not* the same! While the first one is a correct
shorthand
form, the second one (full form) does select a different node set.
The equvivalent full form for "/1/2" would be "xpointer(/*[1]/*[2])".
You can find
an example with some explanations in [3].
Aleksey
[1] http://www.w3.org/TR/xptr-element/
[2] http://www.w3.org/TR/2002/PR-xptr-framework-20021113/
[3]
http://www.zvon.org/xxl/xpointer/tutorial/OutputExamples/xml27_out.xml.html
More information about the xmlsec
mailing list