[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: apply-templates vs. call-template problem

Subject: Re: apply-templates vs. call-template problem
From: "Colin Adams" <colinpauladams@xxxxxxxxxxxxxx>
Date: Mon, 16 Jun 2008 15:05:14 +0100
Re:  apply-templates vs. call-template problem
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@xxxxxxxxx>:
> 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.Honnen@xxxxxx> 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/
>>
>>
>
>
>
> --
> Greg Fausak
> greg@xxxxxxxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.