XSLT Examples

In the space available it isn't feasible to show you examples of all the ways in which you might use XSLT to produce a Web page from a data source held in XML or in a format which can be converted to XML. However, you will see some transformation techniques which you are likely to use frequently in a production setting.

Creating an XHTML Table Example

Note

To work through this example, you will need to have available the tools previously described in Chapter 10.

In XHTML pages, one of the most common structures is the table. This section illustrates how to create a basic table from an XML file.

Let's look at the situation where you want to create a Web page that contains an XHTML table which lists several W3C documents. For the ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.