Results 1 to 3 of 3
Thread: XML as small database and AJAX
Feb 20, 2007, 14:45 #1
- Join Date
- Feb 2007
- 0 Post(s)
- 0 Thread(s)
XML as small database and AJAX
Hello all. I am new here so please forgive me if I sound like an idiot. I have been tasked with creating a simple store search for a clients website. Normally I would put the info in a database and use a language to search the fields but this is an unusual circumstance where the server is really stripped down and the client will not move the site. With that in mind I am thinking I can use AJAX to search for the cities in an XML list. A Sample of the XML might look like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<address>5727 KANAN RD</address>
<address>26901 ALISO CREEK RD</address>
Having never used AJAX or PHP for something like this can someone help me to figure out how to do this. I have been searching for several hours and really do not know the terminology. I found something called xpath but have no idea how it works exactly. Sounds like it is at least a component in the process???
Any thoughts? Is this even possible? am I wasting my time and should just do a static HTML page for each city? Any help you can give me would be greatly appreciated. Even a link or two. Thanks!