Sageduste ülevaade XSLT
From ICO wiki
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<title>Sageduste nimekiri</title>
</head>
<body>
<h1>Sageduste nimekiri</h1>
<ul>
<xsl:for-each select="/EAMK/Freq_type/Name">
<xsl:variable name="Freq_Type_ID" select="@ID" />
<li>
<xsl:value-of select="." />
</li>
<ul>
<xsl:for-each select="/EAMK/Freq_List/Frequencie">
<xsl:if test="@Type_ID = $Freq_Type_ID">
<li>
<xsl:value-of select="./Name" />
</li>
</xsl:if>
</xsl:for-each>
</ul>
</xsl:for-each>
</ul>
</body>
</html>
</xsl:template>
</xsl:stylesheet>