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

Les éléments XSL Copy et Copy-of servent à copier des noeuds. L'élément Copy ne copie que le noeud courant sans ses fils, ni les attributs, tandis que l'élément Copy-of copie tout.

Feuille de style XSLT 1

Source Surf
<source>

<p id="a12"> Compare
     <B>these constructs</B>.
</p>

</source>

Sortie
<DIV>
  <B>copy-of : </B>
  <p id="a12">
Compare <B>these constructs</B>.
</p>
</DIV>
<DIV>
  <B>copy : </B>
  <p/>
</DIV>
<DIV>
  <B>value-of : </B>
Compare these constructs.
</DIV>

Vue HTML
copy-of :

Compare these constructs.

copy :

value-of : Compare these constructs.
Feuille de style XSLT
<xsl:stylesheet version = '1.0'
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:template match="p">
     <DIV>
          <B>
               <xsl:text>copy-of : </xsl:text>
          </B>
          <xsl:copy-of select="."/>
     </DIV>
     <DIV>
          <B>
               <xsl:text>copy : </xsl:text>
          </B>
          <xsl:copy/>
     </DIV>
     <DIV>
          <B>
               <xsl:text>value-of : </xsl:text>
          </B>
          <xsl:value-of select="."/>
     </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 men's western boots or see them on twitter at cowboy boots mens or view them on facebook at hawaiian luxury shoes.

Take a moment to visit cowboy boots and cowboy boots for women or see them on twitter at cowboy boots and cowboy boots for women or view them on facebook at cowboy boots and cowboy boots for women.

Don't forget to check out the following links. You'll be glad you did:

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