O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required