aboutsummaryrefslogtreecommitdiffstats
path: root/test/c14n/1-1-without-comments/example-7.xpath
diff options
context:
space:
mode:
Diffstat (limited to 'test/c14n/1-1-without-comments/example-7.xpath')
-rwxr-xr-xtest/c14n/1-1-without-comments/example-7.xpath10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/c14n/1-1-without-comments/example-7.xpath b/test/c14n/1-1-without-comments/example-7.xpath
new file mode 100755
index 00000000..84ddb081
--- /dev/null
+++ b/test/c14n/1-1-without-comments/example-7.xpath
@@ -0,0 +1,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> \ No newline at end of file