Ray's playground

 

Branching and Control Elements(Chapter 5 of XSLT 2nd Edition)

    To invoke a template by name, two things have to happen:
    • The template you want to invoke has to have a name.
    • You use the <xsl:call-template> element to invoke the named template.

    The XSLT <xsl:template> element has a mode attribute that lets you process the same set of nodes several times.

    XSLT 2.0 adds a required attribute to the <xsl:param> element. Valid values are yes and no, as you’d expect. If a parameter is required, the <xsl:param> element must not have a select attribute.

posted on 2011-02-10 20:47  Ray Z  阅读(173)  评论(0编辑  收藏  举报

导航