I see occasionally templates with a matching criteria similar to
<xsl:template match="@*[.....]"/>
and
<xsl:template match="*[.....]"/>
What is the meaning of them?
The first matches any attribute that satisfies the predicate within the
square brackets. The second matches any element that satisfies the predicate
Can they be used WITHOUT the appended brackets [...]?
Yes, @* matches any attribute, and * matches any element.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
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>
--~--