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
<?xml-stylesheet type="application/xml" href="485286.xml"?>
<transform xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <variable name="v">
    <for-each select="/">
      <value-of select="count(1)"/>
    </for-each>
  </variable>
  <key name="k" match="/" use="$v"/>
  <template match="/">
    <value-of select="key('k', /..)"/>
  </template>
</transform>