Previous | Next | Indexes
adultinternetusers > Tutorials > XSLT 2.0 Tutorial > Use When (1/2) >

Use-when attribute

Attribute use-whenCan be used on any element in the stylesheet. If the boolean value of the expression in this attribute equals "false" then the element and its descendants are removed from the stylesheet.

It is important not to forget to put this attribute into xsl namespace when it is used on elements from other namespaces.


            <xsl:output  method="xml"

            <xsl:template  match="/aaa">
                        <xsl:value-of  use-when="true()"
                        <xsl:value-of  use-when="false()"
                  <zzz  xsl:use-when="false()"/>
                  <ooo  use-when="false"/>
                  <ppp  xsl:use-when="true()"
                  <qqq  xsl:use-when="false()"



      <ooo  use-when="false"/>
      <ppp  use-when="false"/>

Previous chapter: Errors
Next chapter: Collations
Previous page: - - -
Next page: Use-when for compatibility

Kevin Carr in Stanton

Natural Skin Care and European Soaps
TickTalk 5
city of stanton

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