Project

General

Profile

Revision 173

modified shell scripts to support new parser locations and syntax changes

View differences:

test-query.xml
2 2
<!DOCTYPE pathquery PUBLIC "-//NCEAS//pathquery-1.0//EN" 
3 3
          "file:///home/jones/projects/pbi/development/xmltodb/lib/pathquery.dtd" >
4 4
<pathquery version="1.0">
5
  <meta_file_id>Example-01</meta_file_id>
6
  <querytitle>Community Dynamics data query</querytitle>
5
  <meta_file_id>Example-03</meta_file_id>
6
  <querytitle>Test query</querytitle>
7
  <returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>
8
  <returndoctype>-//NCEAS//eml-file//EN</returndoctype>
7 9
  <querygroup booleantype="AND">
8 10
    <queryterm casesensitive="false" searchmode="contains">
9
      <value>Insights</value>
10
      <pathexpr>/eml-dataset/title</pathexpr>
11
      <value>Value</value>
12
      <pathexpr>testroot/a/b</pathexpr>
11 13
    </queryterm>
12
    <queryterm casesensitive="false" searchmode="contains">
13
      <value>community</value>
14
      <pathexpr>/eml-dataset/abstract</pathexpr>
15
    </queryterm>
16 14
  </querygroup>
17 15
</pathquery>

Also available in: Unified diff