File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Converting an XML document to HTML using XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Converting an XML document to HTML using XSLT" Watch "Converting an XML document to HTML using XSLT" New topic
Author

Converting an XML document to HTML using XSLT

solomon alexander
Greenhorn

Joined: Mar 20, 2007
Posts: 19
Hi,

I need to convert an XML document to XHTML using XSLT.
To brief about my requirement, there is an HTML form which has text fields like title,artist,country,company,price, year and a search button. I will be entering data into these fields and hit the submit button, this should query the data against the XML file and display that in XHTML.

Please see the below XSLT code:


Could you let me know, how can i perform a search based on criteria. In other words, I want to filter data dynamically based on form data.
Any Hint would be highly appreciated.

Thanks
Solomon
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Converting an XML document to HTML using XSLT