<?xml version="1.0" encoding="UTF-8"?> 2 <xsl:stylesheet version="1.0" 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 4 5 <xsl:import href="../utilities/master.xsl"/> 6 7 <xsl:output method="xml" 8 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 9 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 10 omit-xml-declaration="yes" 11 encoding="UTF-8" 12 indent="yes" /> 13 14 15 16 <xsl:template match="data"> 17 <html> 18 <head> 19 <title>Hello World!</title> 20 </head> 21 <body> 22 <h1>Symphony Greets the World</h1> 23 24 <h2>Greetings</h2> 25 <div id="content"> 26 <xsl:apply-templates select="/data/sidebar/entry"/> 27 </div> 28 </body> 29 </html> 30 </xsl:template> 31 32 <xsl:template match="sidebar/entry"> 33 <li><xsl:value-of select="title"/></li> 34 <li><xsl:value-of select="content"/></li> 35 </xsl:template> 36 37 </xsl:stylesheet>