Project

General

Profile

« Previous | Next » 

Revision 2074

Added by Matt Jones over 20 years ago

Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.

View differences:

query.xml
1 1
<?xml version="1.0"?>
2 2
<pathquery version="1.2">
3 3
  <querytitle>Untitled-Search-1</querytitle>
4
  <returndoctype>eml://ecoinformatics.org//eml-2.0.0</returndoctype>
4 5
  <returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>
5 6
  <returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>
6 7
  <returndoctype>-//NCEAS//eml-dataset-2.0//EN</returndoctype>
......
8 9
  <returnfield>dataset/title</returnfield>
9 10
  <returnfield>originator/individualName/surName</returnfield>
10 11
  <returnfield>keyword</returnfield>
12
  <returnfield>/eml/@packageId</returnfield>
13
  <returnfield>/eml/dataset/access/@authSystem</returnfield>
14
  <returnfield>/eml/dataset/access/@order</returnfield>
11 15
  <querygroup operator="INTERSECT">
12 16
    <querygroup operator="UNION">
13 17
      <querygroup operator="UNION">

Also available in: Unified diff