cancel
Showing results for 
Search instead for 
Did you mean: 

Applied template

Former Member
0 Kudos

can anybody tell me abt applied template in xslt

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
GabrielSagaya
Active Contributor
0 Kudos

The <xsl:template> element contains rules to apply when a specified node is matched.

The match attribute is used to associate the template with an XML element. The match attribute can also be used to define a template for a whole branch of the XML document (i.e. match="/" defines the whole document).

<xsl:template> is a top-level element

<xsl:template match="/">

</xsl:template>

http://www.w3schools.com/Xsl/el_template.asp

Former Member
0 Kudos

Hi,

The xsl:apply-templates element defines a set of nodes to be processed, or by default selects all child nodes of the current node being processed, and finds a matching template rule to apply to each node in the set.

syntax:

<xsl:apply-templates

select="expression"

mode="qname"

>

</xsl:apply-templates>

check this for more..

http://www.devguru.com/Technologies/xslt/quickref/xslt_element_applytemplates.html

Thanks,

Vijaya

Hey reward if helps.