Click to See Complete Forum and Search --> : search combine and present


newinjs
11-15-2003, 10:16 PM
I have an html file that include a text box and a button. I want to be able to enter a keyword in the text box, click the button and perform a search by keyword.

I am trying to write an xsl sheet that will search 2 xml files(these are 2 catalogs that have the same xml structure), merge the results in an xml file and present the combination in the above html style sheet, using the same xsl style sheet.

I figured out how to combine 2 xml files.
I also figured out how to do the search using javascript and xmldom for each file separately.
however I was unable to figure out how to put everything together. How can I for example refer to the entered key work within the stylesheet if that is possible. Any suggestion ?

thank you for your time.

Khalid Ali
11-16-2003, 07:57 AM
I am not sure if I nderstood you correctly.
here is a link to a resource (http://www.webapplikations.com/pages/html_js/xmlstuff/DOMXMLParsing.xml), which may be of some help