ePrometeusCorsoJavaJava
testi articoli
Testi Articoli  Download
Home | Xml | Dtd | XPath | Xslt | Esempio | 
CorsoJava è ora Video! Free for all!
Clicca Qui!

Xslt
XML to XML
Script
Template
Ricorsione
Template
xsl:template
xsl:apply-templates
xsl:for-each
default
Output
xsl:value-of
value template
xsl:element
xsl:attribute
xsl:text
xsl:copy-of
Condizioni
Variabili
xsl:if
xsl:choose
Varie
xsl:call-templates
xsl:sort
xsl:number

<<< xsl:for-each >>>
Cicla su tutti gli elementi della lista corrente
<xsl:template match="chap">
 <xsl:for-each select="p">
  <xsl:value-of select=".">
 </xsl:for-each>
</xsl:template>
equivale a (senza una regola)
<xsl:template match="chap">
  <xsl:apply-templates select="p"/>
</xsl:templates>

<xsl:template match="p"> <xsl:value-of select="."/> </xsl:templates>

ePrometeus s.r.l. - Web Software House & Open Source System Integrator
MILANO - SAN BENEDETTO DEL TRONTO(AP)
Contatti: info@eprometeus.com