Using XML LitProg

  1. Reference fragments with <src:fragref>

    <h2>Synopsis</h2>
    
    <src:fragment id="top" mundane-result-prefixes="xsl">
    <xsl:template name="xpath.location">
      <src:fragref linkend="xpath.location.node"/>
      <src:fragref linkend="xpath.location.path"/>
    
      <xsl:variable name="next.path">
      ...