ZVON > References > XSLT Reference
Example 81:19: All | XML | >> XSLT << | Output |

XSLT


     <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
          <xsl:output method = "text" />

          <xsl:template match = "AAA" >
               <xsl:apply-templates select = "CCC" />
          </xsl:template>

          <xsl:template match = "CCC" >
               <xsl:text >
        </xsl:text>
               <xsl:value-of select = "//BBB[. = current()/@ccc]" />
          </xsl:template>
     </xsl:stylesheet>