1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 2 3<xsl:output encoding="utf-8"/> 4 5<xsl:template match="table"> 6 <table> 7 <xsl:apply-templates/> 8 </table> 9</xsl:template> 10 11<xsl:template match="row"> 12 <address id="{id}" 13 firstname="{firstname}" 14 lastname="{lastname}" 15 street="{street}" 16 city="{city}" 17 state="{state}" 18 zip="{zip}"/> 19</xsl:template> 20 21</xsl:stylesheet> 22