<xsl:for-each select=”//Printer”>
<xsl:element name=”Product”>
<xsl:attribute name=”type”>
<xsl:value-of select=”name()”/>
</xsl:attribute>
<xsl:attribute name=”maker”>
f)
<?xml version=”1.0″ encoding=”UTF-8″?>
<xsl:stylesheet version=”1.0″
xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”
xmlns:fo=”http://www.w3.org/1999/XSL/Format”>
<xsl:output method=”text”/>
</xsl:text>
<xsl:for-each select=”//PC”>
<xsl:value-of select=”@model” />
<xsl:text> & </xsl:text>