Revision 156
Added by Matt Jones over 24 years ago
test-query.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0"?> |
2 | 2 |
<!DOCTYPE pathquery PUBLIC "-//NCEAS//pathquery-1.0//EN" |
3 |
"file:///home/jones/projects/pbi/development/mde/dtd/pathquery.dtd" >
|
|
3 |
"file:///home/jones/projects/pbi/development/xmltodb/lib/pathquery.dtd" >
|
|
4 | 4 |
<pathquery version="1.0"> |
5 | 5 |
<meta_file_id>Example-01</meta_file_id> |
6 | 6 |
<querytitle>Community Dynamics data query</querytitle> |
lib/test-query.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0"?> |
2 | 2 |
<!DOCTYPE pathquery PUBLIC "-//NCEAS//pathquery-1.0//EN" |
3 |
"file:///home/jones/projects/pbi/development/mde/dtd/pathquery.dtd" >
|
|
3 |
"file:///home/jones/projects/pbi/development/xmltodb/lib/pathquery.dtd" >
|
|
4 | 4 |
<pathquery version="1.0"> |
5 | 5 |
<meta_file_id>Example-01</meta_file_id> |
6 | 6 |
<querytitle>Community Dynamics data query</querytitle> |
lib/pathquery.dtd | ||
---|---|---|
49 | 49 |
<!ELEMENT queryterm (value, pathexpr?)> |
50 | 50 |
|
51 | 51 |
<!-- a boolean flag indicating whether matches should be case-sensitive or |
52 |
case-independent for this queryterm, one of: true|false --> |
|
53 |
<!ATTLIST queryterm casesensitive (true|false) #REQUIRED "false"> |
|
52 |
case-independent for this queryterm, one of: true|false |
|
53 |
and searchmode is the type of match to perform against the text value --> |
|
54 |
<!ATTLIST queryterm casesensitive (true|false) #REQUIRED |
|
55 |
searchmode |
|
56 |
(contains|starts-with|ends-with|matches-exactly) #REQUIRED> |
|
54 | 57 |
|
55 |
<!-- the type of match to perform against the text value --> |
|
56 |
<!ATTLIST queryterm searchmode |
|
57 |
(contains|starts-with|ends-with|matches-exactly) #REQUIRED "contains"> |
|
58 |
|
|
59 | 58 |
<!-- the text value for which we are searching --> |
60 | 59 |
<!ELEMENT value (#PCDATA)> |
61 | 60 |
|
Also available in: Unified diff
fixed error in pathquery.dtd