DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5b81998bb7ab)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?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>