summaryrefslogtreecommitdiff
path: root/test/c14n/1-1-without-comments/example-7.xpath
blob: 84ddb0815bcdf6b790a8a11a828e49c90333f5a5 (plain)
1
2
3
4
5
6
7
8
9
10
<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>