I use it to skip nodes.
similarly I have used it to define general fallback or error conditions.
the following is cut from a stylesheet that's in active development here
as part of the day job.
<xsl:template mode="#all" match="*">
<xsl:message>
Unknown element <xsl:value-of select="name()"/>
==
<xsl:copy-of select="."/>
==
</xsl:message>
//
// Unknown element <xsl:value-of
select="name(),ancestor-or-self::*[*/@xid][1]/*/@xid"/>
//
</xsl:template>
Basically it means that you can define (or re-define) the equivalent of
the default template which applies to all modes with xslt syntax, rather
than it being a magic internal thing not exactly equivalent to any
expression in the language.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--