>> English << | Français | Deutsch | Magyar | 中文 | Polski adultinternetusers > Tutorials > XSLT Tutorial
>> Page 45 << | Prev | Next | Contents | Element Index

Functions true() and false() are useful, when some conditions are tested during programming.

XSLT stylesheet 1

XML Source
<source>

<number>0</number>
<number>1</number>

</source>

Output
<P>true not false</P>

<P>true not false</P>

HTML view

true not false

true not false

XSLT stylesheet
<xsl:stylesheet version = '1.0'
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:template match="number">
     <P>
          <xsl:if test="true()">
               <xsl:text>true </xsl:text>
          </xsl:if>
          <xsl:if test="not(false())">
               <xsl:text>not false</xsl:text>
          </xsl:if>
     </P>
</xsl:template>


</xsl:stylesheet>


Kevin Carr in Stanton

Natural Skin Care and European Soaps
childs gps tracker
city of stanton
make money to walk


You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks