ZVON > References > XSLT Reference
Example 46:2: 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 = "/" >
               <xsl:text >
      12:     </xsl:text>
               <xsl:value-of select = "boolean(12)" />
               <xsl:text >
      -30:    </xsl:text>
               <xsl:value-of select = "boolean(-30)" />
               <xsl:text >
      0:      </xsl:text>
               <xsl:value-of select = "boolean(0)" />
               <xsl:text >
      'qqq"': </xsl:text>
               <xsl:value-of select = "boolean('qqq')" />
               <xsl:text >
      ' ':    </xsl:text>
               <xsl:value-of select = "boolean(' ')" />
               <xsl:text >
      '':     </xsl:text>
               <xsl:value-of select = "boolean('')" />
               <xsl:text >
      //BBB:  </xsl:text>
               <xsl:value-of select = "boolean(//BBB)" />
               <xsl:text >
      //QQQ:  </xsl:text>
               <xsl:value-of select = "boolean(//QQQ)" />
          </xsl:template>
     </xsl:stylesheet>