View Single Post
  #1 (permalink)  
Old September 22nd, 2004, 04:56 AM
kts_33 kts_33 is offline
Registered User
 
Join Date: Sep 2004
Location: Chennai, Tamilnadu, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Search and display fields in XML file


How do I search for records in this particular XML file and display all the fields being searched???
The name of the xml file whose content is to be searched is "first.xml" and it is as follows:

<? xml version="1.0" ?>
<? xml:stylesheet type='text/xsl' href="sample.xsl" ?>
<DATABASE>

<RECORD>
<NAME>abc</NAME>
<AGE>24</AGE>
<DESIG>programmer</DESIG>
</RECORD>

<RECORD>
<NAME>xyz</NAME>
<AGE>45</AGE>
<DESIG>CEO</DESIG>
</RECORD>

</DATABASE>
.................................................. .................

Please help me. I am waiting for a favourable reply.



Reply With Quote