><?xml version="1.0" encoding="UTF-8" standalone="yes" ?> ><list> > <topic title="Create home web page"> > <subtopics> > <description>Add colorful background.</description> > </subtopics> > <subtopics> > <description>Add login control.</description> > </subtopics> > </topic> > <topic title="Create Guest Book Page"> > <subtopics> > <description>Add ability for user to do such and such</description> > </subtopics> > </topic> ></list> >>
><xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns="http://www.w3.org/TR/xhtml1/strict"> ><xsl:template match="/"> ><html> ><body> > <TABLE WIDTH="100%"> > > <xsl:for-each select="list/topic"> > <TR> > <TD style="color: #081D84; font-weight: bold; "><xsl:value-of select="@title"/></TD> > </TR> > > <xsl:for-each select="subtopics"> > <TR> > <TD> > <TABLE> > <TR> > <TD><xsl:value-of select="description"/></TD> > </TR> > </TABLE> > </TD> > </TR> > </xsl:for-each> > </xsl:for-each> > > </TABLE> ></body> ></html> ></xsl:template> ></xsl:stylesheet> >>