Can one give me the example for “mode” of template in xsl?
In <xsl:template name="temp_name" mode="mode"> What is the meaning of mode ? I searched many many resource, but i couldn't find example for that. So can anybody explain with an example? It isn't too meaningful to give a template both a name and a mode . The name attribute fully identifies a template and there cannot be two templates with the same name and different modes. The mode attribute allows the same nodes to be processed more than once, using different modes . Here is a short example: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output omit-xml