Fixed bug #317: xelm only indexes cdata at matching node (not children).
[idzebra-moved-to-github.git] / test / xelm / user.abs
1 name user
2
3 attset bib1.att
4
5 #xpath enable
6 #xelm //des*/ Any:w
7 #xelm //user/age !:n,ISBN:w
8 #xelm //user/name !:p
9 xelm //user/@id !:w,Doc-id:w,Any:w
10 #xelm /user[@id="strucc"]/description[@xml:lang="en" and @test] !:w,Any:w
11
12 #xelm ///description[@xml:lang="en"] !:w,Any:w
13
14 #elm name name Any:p
15 #elm age age Any:n
16
17
18 xelm /@* !:w            # all attributes
19 xelm /* !:w             # expression for all tags