Files
XML_Data_Parsing/libxml2/test/c14n/1-1-without-comments/example-8.xpath
T

10 lines
252 B
Plaintext
Raw Normal View History

2026-07-19 22:48:13 +08:00
<XPath xmlns:ietf="http://www.ietf.org" >
(//.|//@*|//namespace::*)
[
self::ietf:e1
or
(parent::ietf:e1 and not(self::text() or self::e2))
or
count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
]
</XPath>