xsl-list
[Top] [All Lists]

Re: [xsl] Output input_xml apart from one tag change?

2007-10-02 07:11:16
John Smith wrote:
does xsl:copy copy all the descendants of the current node?

No.


If no, then how do the descendants of the current node get copied?

Because xsl:apply-templates processes all child nodes with matching templates meaning meaning the identity template is applied to the children, the grandchildren and so on unless there is a matching template with a higher priority which does something else.

--

        Martin Honnen
        http://JavaScript.FAQTs.com/

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