Revision d07004f4c117182086c2e2682de542ecd8f2b59f authored by Robert O'Callahan on 18 December 2013, 05:37:24 UTC, committed by Robert O'Callahan on 18 December 2013, 05:37:24 UTC
1 parent 6ac4414
Raw File
91332.xsl
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:key name="polyList" match="quad" use="@id" />

  <xsl:template match="root">
    <html><body><xsl:apply-templates select="category" /></body></html>
  </xsl:template>

  <xsl:template match="category">
    <table><xsl:apply-templates select="list" /></table>
  </xsl:template>

  <xsl:template match="list">
    <tr><td><xsl:apply-templates select="key('polyList',@item)" /></td></tr>
  </xsl:template>

  <xsl:template match="quad">
    <b>Please output something!</b>
  </xsl:template>
</xsl:stylesheet>
back to top