A bit stuck here, and just can't get started on a project.
I basically want to offer a search function through an XML file.
I have a sample file let's say a list of hotels
<hotels>
<hotel>
<id>1</id>
<name>Sheraton</name>
<address>11 Test st</address>
<city>New York</city>
<state>NY</state>
</hotel>
<hotel>
<id>1</id>
<name>Marriott</name>
<address>11 Test st</address>
<city>New York</city>
<state>NY</state>
</hotel>
<hotel>
<id>1</id>
<name>Sheraton</name>
<address>11 Test st</address>
<city>Los Angeles</city>
<state>CA</state>
</hotel>
<hotels>
I want to be able to query XML file and retrieve the list of hotels in, let's say New York and then manipulate the data for display.... Any ideas where I can start?
Also, as a side question - my original XML file is quiet large and as I understand it might deliver a slow performance. It contains a little over 100k records. Is there a way to make it a little more efficient? Or will it not be a big issue?
Any help would be appreciated.
Thank you,
Nick