libxml2/test/c14n/without-comments/example-7.xpath
Aleksey Sanin 508a1019a6 C14N tests integrated into LibXML2 test suite
* Makefile.am result/c14n/* test/c14n/*: C14N tests integrated
into LibXML2 test suite
2002-05-31 06:32:32 +00:00

10 lines
252 B
Plaintext

<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>