This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Passing parameters to xsl from jsp
- To: "XML-L at LISTSERV dot HEANET dot IE" <XML-L at LISTSERV dot HEANET dot IE>, "xsl-list at mulberrytech dot com" <xsl-list at mulberrytech dot com>, "JSP-INTEREST at JAVA dot SUN dot COM" <JSP-INTEREST at JAVA dot SUN dot COM>
- Subject: Passing parameters to xsl from jsp
- From: "Priya Pinto" <itfresher at rediffmail dot com>
- Date: 30 Sep 2000 06:37:54 -0000
- Reply-To: xsl-list at mulberrytech dot com
I'm using an XML file as database and I need to be able to search for a particular text node in it based on the users search input.
Ideas to proceed
1) When the user enters the search phrase and clicks on search, call a jsp which takes the input and then calls the respective file with another xsl (how do I do this? do I parse the file and rewrite it with a diff xsl?)where the value is passed as a parameter and it displays only that set of nodes.
2)When the user enters the search phrase and clicks on search, I use a jsp file to accept the parameter and then call the xml file parse it and extract the nodes required and display it on the screen.
Do tell me which is a better option and how to go about it?
Or if there is any better way to go about this?
I'm working on a Linux platform, with Apache, Tomcat, JSP, XML.
Thanks
Priya
_________________________________________________
Get Your Free Email At, http://www.rediffmail.com
For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list