xref: /aosp_15_r20/external/libxml2/test/c14n/1-1-without-comments/example-7.xpath (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1*7c568831SAndroid Build Coastguard Worker<XPath xmlns:ietf="http://www.ietf.org" >
2*7c568831SAndroid Build Coastguard Worker    (//.|//@*|//namespace::*)
3*7c568831SAndroid Build Coastguard Worker    [
4*7c568831SAndroid Build Coastguard Worker	self::ietf:e1
5*7c568831SAndroid Build Coastguard Worker	    or
6*7c568831SAndroid Build Coastguard Worker	(parent::ietf:e1 and not(self::text() or self::e2))
7*7c568831SAndroid Build Coastguard Worker	    or
8*7c568831SAndroid Build Coastguard Worker	count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
9*7c568831SAndroid Build Coastguard Worker    ]
10*7c568831SAndroid Build Coastguard Worker</XPath>