parisa
10-31-03, 12:44 AM
Hi all
Can anyone tell me how to search through a file with tags and ignore the tags while searching??
The data are saved in a file called data.sgl and are stored like this.
code:--------------------------------------------------------------------------------
<ref>
<provnc>
<aulist>
<author> Bin Laden
</aulist>
<year>1990
<source> Cambridge University Press, Cambridge UK, 1st edition
<id>1
<keywords>
<key>terrorism
<key>whatever
</keywords>
</provnc>
<title> Terrorism
</ref>
--------------------------------------------------------------------------------
There are several entries like this in the file and the search script searches (eg: for a title) through the file and displays the matching info of the book.
Thanks
Can anyone tell me how to search through a file with tags and ignore the tags while searching??
The data are saved in a file called data.sgl and are stored like this.
code:--------------------------------------------------------------------------------
<ref>
<provnc>
<aulist>
<author> Bin Laden
</aulist>
<year>1990
<source> Cambridge University Press, Cambridge UK, 1st edition
<id>1
<keywords>
<key>terrorism
<key>whatever
</keywords>
</provnc>
<title> Terrorism
</ref>
--------------------------------------------------------------------------------
There are several entries like this in the file and the search script searches (eg: for a title) through the file and displays the matching info of the book.
Thanks