2-6-2008 0:38:58
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<xsl:template match="/products">
<Workbook>
<Worksheet>
<xsl:attribute name="ss:Name">Ka</xsl:attribute>
<Table x:FullColumns="1" x:FullRows="1">
<xsl:apply-templates select="product"></xsl:apply-templates>
</Table>
</Worksheet>
</Workbook>
</xsl:template>
<xsl:template match="product">
<Row>
<Cell>
<Data ss:Type="String">
<xsl:value-of select="name"/>
</Data>
</Cell>
<Cell>
<Data ss:Type="String">
<xsl:value-of select="model"/>
</Data>
</Cell>
<Cell>
<Data ss:Type="String">
<xsl:value-of select="price"/>
</Data>
</Cell>
</Row>
</xsl:template>
</xsl:stylesheet>