xsl-list
[Top] [All Lists]

Pattern Question

2003-03-28 06:11:46



This should be a relatively easy question but I just want to confirm what I
am thinking. What is the difference in the following patterns? Is my
assessment of the first two correct?


1. <xsl:template match="/"> =Matches Root Element
2. <xsl:template match="*|@"> =Matches all element nodes or attributes.
Used to copy XMl into Source tree.
3. <xsl:template match="@*|node()"> = Not exactly sure how this pattern
behaves. Appears to match all nodes or child nodes?




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>