<?xml version="1.0" encoding="UTF-8"?>
<table type="database">
<column type="string"/>
<row type="long"/>
<record type="date"/>
</table>
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/table/*">
<xsl:choose>
<xsl:when test="column">
column: <xsl:value-of select="@type"/>
</xsl:when>
<xsl:when test="row">
row: <xsl:value-of select="@type"/>
</xsl:when>
<xsl:otherwise>
other: <xsl:value-of select="@type"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
other: string
other: long
other: date