xsl-list
[Top] [All Lists]

Re: [xsl] Re: Grouping by attribute

2009-10-21 11:18:05
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/
























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

<Prev in Thread] Current Thread [Next in Thread>