xsl-list
[Top] [All Lists]

Re: [xsl] Things that make you go Hmmmm!

2014-03-29 06:57:57
On Fri, Mar 28, 2014 at 4:48 PM, Andrew Welch 
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
I was surprised that the content models of xsl:copy and xsl:copy-of
were different (by dint of the select attribute) in the first place.

They are still different, no? shallow vs deep.

On 28 March 2014 17:50, Ihe Onwuka <ihe(_dot_)onwuka(_at_)gmail(_dot_)com> 
wrote:
I'm not sure what point you are making.

That the content models are still different (not just the select attribute).

As to my point. For the same reasons I would expect the content models
of xsl:next-match, xsl:apply-templates and xsl:apply-imports to be the
same.

What would the xsl:sort child of xsl:next-match or xsl:apply-imports do?

xsl:apply-templates is how you construct the list of nodes to process,
while xsl:next-match and xsl:apply-imports help decide which template
is actually applied for any given node... so they are different
things.

-- 
Andrew Welch
http://andrewjwelch.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>
--~--