The XSL Template for the Movies Listing

The results of the movies listing query are converted into an XML document and then processed using XML transformation and an XSL template to describe the transformation process. This template as shown below is similar to the example shown in Chapter 16.

The XML document being processed contains elements which contain information on the database table columns returned by the query, and it contains elements which contain the data contained in those columns. The template processing process scans the XML document and produces HTML output in the form of an HTML table. Unlike the example in Chapter 16, this template requires some complex processing to scan the XML document. Consequently, the XSL template script ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.