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
| Current Thread |
- Pattern Question
- Kevin . Gutch - Fri, 28 Mar 2003 08:07:23 -0500 (EST) <=
- <Possible follow-ups>
- Kevin . Gutch - Fri, 28 Mar 2003 09:14:25 -0500 (EST)
|
|