<?xml version="1.0" encoding="ISO-8859-1" ?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <data> <items> <item>This document is an <strong>example</strong> from XML/XSLT</item> </items> </data>Test.xsl
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <xsl:apply-templates select="/data/items" /> </body> </html> </xsl:template> <xsl:template match="/data/items"> <td width="40pt" align="center"><xsl:value-of select="item"/></td> </xsl:template> </xsl:stylesheet>Generate: