xsl-list
[Top] [All Lists]

Re: [xsl] Moving (promoting) XML elements through XSL

2006-06-30 06:32:24

       <xsl:template match="//topic">
                            ^^^^

 BTW, this is never needed in a pattern.  Just write "topic".

In XSLT1 it's never needed, in XSLT2 the same is probably true although
it does match different elements in that case.

match="//topic" 

would not match a an element in a tree that was rooted at an element
node rather than a document node.

David

--~------------------------------------------------------------------
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>
--~--