xsl-list
[Top] [All Lists]

Re: [xsl] apply-templates vs. call-template problem

2008-06-16 07:06:03
It's worth keeping a second xslt processor handy. You are entitled to
receive an error message that select is not permitted on
xsl:call-template. Another processor would probably tell you this (and
XSLT 2.0 processor is required to do so - I'm not familiar with 1.0
this century, but I suspect the requirement was there too).

2008/6/16 Greg Fausak <lgfausak(_at_)gmail(_dot_)com>:
There I go tipping my noob hat :-)

I was just fooling myself with the call-template select=".".
I just tried the params version, works great.

If you only knew how many hours...

Thanks,
-g


On Mon, Jun 16, 2008 at 8:29 AM, Martin Honnen 
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Greg Fausak wrote:

                              <xsl:call-template name="create-groups"
select="."/>

call-template does not allow a select attribute:
 http://www.w3.org/TR/xslt#named-templates
It can take parameters however.


--

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





--
Greg Fausak
greg(_at_)thursday(_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>
--~--