This section looks at how to create an HTML list from an XML source document.
The XML source document contains information about a series of reports produced for XMML.com. In this HTML Web page, you will choose to display only reports for which the year of the report is 2002. Listing 10.5 shows the source XML document.
<?xml version='1.0'?> <XMMLReports> <Report year="2000"> <Title>Sales Opportunities</Title> <Author>Peter Mallan</Author> <Summary>The opportunities for XML consultancy look good for 2001.</Summary> <Content> <!-- Main text would go here. --> </Content> </Report> <Report year="2001"> <Title>SVG - A Graphics Standard</Title> <Author>Pamela Askew</Author> ...