English | >> Français << | Deutsch | Magyar | 中文 | Polski adultinternetusers > Tutorials > XSLT Tutorial
>> Page 42 << | Précédent | Suivant | Contenu | Index des éléments

Cette feuille de style permet de tester si la valeur d'un élément est un nombre.

Feuille de style XSLT 1

Source Surf
<source>

<number>253</number>
<number>sd12</number>
<number>-64</number>
<number>2.25.25</number>
<number>2.25</number>

</source>

Sortie
<DIV>253</DIV>

<DIV>sd12 is not a number</DIV>

<DIV>-64</DIV>

<DIV>2.25.25 is not a number</DIV>

<DIV>2.25</DIV>

Vue HTML
253
sd12 is not a number
-64
2.25.25 is not a number
2.25
Feuille de style XSLT
<xsl:stylesheet version = '1.0'
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:template match="number">
     <DIV>
          <xsl:value-of select="."/>
          <xsl:if test="string(number(.))='NaN'"> is not a number</xsl:if>
     </DIV>
</xsl:template>


</xsl:stylesheet>


Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
City of Stanton
Internetusers

City Of Stanton | City Of Stanton | Warren Stanton Council and Gary Taylor Stanton | City Of Stanton |



Take a moment to visit 350 chevy engine or see them on twitter at High Performance Water Pump or view them on facebook at hawaiian luxury shoes.

These is the best pest and termite control business in Orange County. They are called Southern California Exterminators in Stanton.

There is another awesome Southern California Exterminators and they are named Southern California Exterminators in Stanton, CA.

You'll want to see both of these businesses.

Take a moment to visit True Religion Bobby Jeans or see them on twitter at True Religion Bobby Jeans or view them on facebook at True Religion Bobby Jeans.

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