Filter by keyword.....

tmmet tvp tmmet at hotmail.com
Wed Jan 5 02:46:51 GMT 2000


Hi,
Can anyone help me out...
My XML file is as follows...
<ROOT>
  <CHAPTER Id = 1>
    <SUBCHAPTER Title= "God know">
     </SUBCHAPTER>
  </CHAPTER>
<CHAPTER Id = 2>
</CHAPTER>

<CHAPTER Id = 3>
    <SUBCHAPTER Title= "Who is that">
     </SUBCHAPTER>
  </CHAPTER>
</ROOT>

In my edit control,if I type/enter,"God",
I should be able to filter/get the node..That is,
<CHAPTER Id = 1>
    <SUBCHAPTER Title= "God know">
     </SUBCHAPTER>
  </CHAPTER>


To filter by exact value,we use,
CHAPTER[SUBCHAPTER/@Title = "God knows"]
But,how can i do this for keyword...How do I specify in my key condition...
Any ideas/suggestions will be greatly helpful to me...
Thanks in advance.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list