Click to See Complete Forum and Search --> : Searching an XML-file


daft
12-11-2007, 12:15 PM
I'm getting desperate here. I have a simple xml-file with the root element <memberlist>. It contains several <member>-tags that in turn hold information on a members first name, last name, street address, zip-code, phone number and e-mail-address. The xml-file is displayed on a web page that can be accessed by the site admin when the log in. It's formatted in a simple tabular form using an xsl-style sheet. When you first log in, you see every entry in the xml-file presented in the table on the page. Next to the table is a small search form allowing you to search the list based on a selection you do in a drop-down menu (Name or Address). When you hit the submit button on the search form I want to have an onclick-event fire a javascript function that searches the xml-entries, presents the hits in tabular form on the page, but I just can't get it to work right. Deadline is approaching and I'm stumped. Any good links or suggestions as to how I should tackle this? Oh, and it "only" has to work in IE and FF.