I need to write a programme to search an XML file.
I don't know where to start really.
The fields in my XML file are of the form:
<projectdetails>
<contact>
<field id="name" taborder="1">
<field_value>Dan </field_value>
</field>
<field id="surname" taborder="2">
<field_value>Foord</field_value>
</field>
</contact>
</projectdetails>
I want the search engine to look through certain ids for text in the field_value.
ie search all the field id "name" in all the contacts for the text "Dan"
And hey presto it returns all the matches.
Would JavaScript be good for this?
If so how?
I have very very little experience of JS
Cheers
Dan
I don't know where to start really.
The fields in my XML file are of the form:
<projectdetails>
<contact>
<field id="name" taborder="1">
<field_value>Dan </field_value>
</field>
<field id="surname" taborder="2">
<field_value>Foord</field_value>
</field>
</contact>
</projectdetails>
I want the search engine to look through certain ids for text in the field_value.
ie search all the field id "name" in all the contacts for the text "Dan"
And hey presto it returns all the matches.
Would JavaScript be good for this?
If so how?
I have very very little experience of JS
Cheers
Dan