2. XSLT Features

2.1 Please summarise the difference between 'Push' and 'Pull' usage in XSLT?

A 'Pull' implementation prefers the use of <xsl:call-template> over the use of <xsl:apply-templates>

2 points

2.2 Please describe four differences between XSLT v1.0 and v2.0?

New options for the grouping of nodes: the xsl:for-each-group instruction and the current-group() function have been added. Users can create and use custom functions in the stylesheet The possibility of generating multiple output documents have been extended in comparison to XSLT 1.1. You can also link between these 'result trees'. XHTML output method has been added. There is a new xsl:sort-key declaration. The possibility to create a temporary tree on which to perform actions. A new instruction xsl:namespace has been added to generate namespace nodes.

4 points

©Wiley Interscience