-SUBDIRS=gils usmarc api dmoz xpath sort
+SUBDIRS=gils usmarc api dmoz xpath sort xelm
testclient_SOURCES = testclient.c
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<user xmlns="http://www.technomat.hu/Classic/" id="pop">\r
+ <name>Peter Popovics</name>\r
+ <description xml:lang="hu">Leiras</description>\r
+ <description xml:lang="en">Description</description>\r
+ <email>pop@technomat.hu</email>\r
+ <url>http://www.technomat.hu/pop</url>\r
+ <age>29</age>\r
+</user>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<user xmlns="http://www.technomat.hu/Classic/" id="strucc">\r
+ <name>Strucc Emu</name>\r
+ <description xml:lang="hu">Leiras</description>\r
+ <description xml:lang="en" test="asd">Testit</description>\r
+ <email>strucc@technomat.hu</email>\r
+ <url>http://www.technomat.hu/strucc</url>\r
+ <age>5</age>\r
+</user>\r
--- /dev/null
+#!/bin/sh
+exit 0
--- /dev/null
+name user
+
+attset bib1.att
+
+xpath enable
+xelm //des*/ Any:w
+#xelm //user/age !:n,ISBN:w
+#xelm //user/name !:p
+#xelm //user/@id !:w,Doc-id:w,Any:w
+#xelm /user[@id="strucc"]/description[@xml:lang="en" and @test] !:w,Any:w
+#xelm ///description[@xml:lang="en"] !:w,Any:w
+
+#elm name name Any:p
+#elm age age Any:n
--- /dev/null
+# Simple zebra configuration file to demonstate the usage of xelm directive
+
+profilePath: .:../../tab:../../../yaz/tab
+
+attset: bib1.att
+attset: explain.att
+
+register: register:1000M
+
+# Specify record type
+recordType.xml: grs.xml
+recordId: file
+
+lockDir: lock
+setTmpDir: tmp
+keyTmpDir: tmp
+memMax: 4
+
+storeKeys: 1
+storeData: 1