Re: [xsl] Re: Grouping by attribute

Subject: Re: [xsl] Re: Grouping by attribute
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Wed, 21 Oct 2009 14:28:43 +0000 (GMT)
Martin Honnen wrote:

>> There was only one complain from the compiler that cn
>> is declared as string:
>>   <xsl:template match="node()">
>>     <xsl:param
name="cn"/>

> Which XSLT processor are you using that gave that complain?
In XSLT 1.0, the value of a param without neither non-empty content nor
@select is the empty string.  So if no value is passed to the template rule,
$cn is a string (of length 0.)

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread