xsl-list
[Top] [All Lists]

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

2014-03-28 14:36:27
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.

Someone definitely needs to read and practice. Asking piecemeal
questions about fundamental properties of the language isn't generally
helpful.

This reminds me of a Chinese proverb:

"Give a man a fish, and you feed him for a day; show him how to catch
fish, and you feed him for a lifetime."

Answering scattered, piecemeal questions will only feed him for a day.
We cannot teach the man how to fish just in an answer"

This is provided by good books (such as Michael Kay's) or training.

Cheers,
Dimitre

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

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.

They may not be but it would be my default starting expectation and to
find that they were not, would for me be tantamount to a surprise.

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.

The select on xsl:copy just means you can point to different node than
the context node.


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


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


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