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.
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.