DOM Visualisation
From Ajax Patterns
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="/category">
<xsl:value-of select="@name" />
<xsl:if test="@parent!=">
Back to
<xsl:value-of select="@parent" />
</xsl:if>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="/category/items/link">
<a href="{url}"><xsl:value-of select="name"/></a>
</xsl:template>
<xsl:template match="/category/items/category">
<xsl:value-of select="@name"/>
</xsl:template>
</xsl:stylesheet>
Time your website with
WebWait - from the creator of AjaxPatterns.org
