Edit

kc3-lang/libxml2/test/c14n/1-1-without-comments/example-7.xpath

Branch :

  • Show log

    Commit

  • Author : Aleksey Sanin
    Date : 2009-07-09 10:26:22
    Hash : 83868247
    Message : Aleksey Sanin support for c14n 1.1 * c14n.c include/libxml/c14n.h: adds support for C14N 1.1, new flags at the API level * runtest.c Makefile.am testC14N.c xmllint.c: add support in CLI tools and test binaries * result/c14n/1-1-without-comments/* test/c14n/1-1-without-comments/*: add a new batch of tests

  • test/c14n/1-1-without-comments/example-7.xpath
  • <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>