File: 37_subset.xpath

package info (click to toggle)
libxml-security-java 1.4.5-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 14,776 kB
  • sloc: java: 42,230; xml: 26,783; sh: 242; makefile: 11
file content (8 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
<!-- Evaluate with declaration 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())
]