Seperate Documentation

<xsl:template name="xpath.location">
  <xsl:param name="node" select="."/>
  <xsl:param name="path" select="''"/>

  <xsl:variable name="next.path">
    <xsl:value-of select="local-name($node)"/>
    ...
</xsl:variable>
  • No changes to the code.

  • Documentation might exist.

  • Documentation might be correct.

  • You might be able to find it when you need it.