Skip to main content.
home | support | download

Back to List Archive

[swish-e] How to search within XML tags where XML tag appears multiple times

From: Tony Seddon <tseddon(at)not-real.epo.org>
Date: Thu Nov 18 2010 - 12:56:48 GMT
I have an XML structure like...

<name>
  <first>
    Tom
  </first>
  <last>
    Smith
  <last/>
</name>
<name>
  <first>
    Bob
  </first>
  <last>
    Jones
  <last/>
</name>
<name>
  <first>
    Jim
  </first>
  <last>
    Farmer
  <last/>
</name>

In the config I have UndefinedMetaTags auto

If I search for Tom Jones using... 
 swish-e -w  "name=(Tom Jones)" 
It matches the XML above although it should not.

How can I devise a search that will not match Tom Jones in the above XML ?

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Nov 18 07:57:05 2010