Re: [xslt] AVT handling for xsl:attribute/@grouping-size
- From: Michael Ludwig <milu71 gmx de>
- To: xslt gnome org
- Subject: Re: [xslt] AVT handling for xsl:attribute/@grouping-size
- Date: Wed, 7 Jul 2010 23:53:44 +0200
Phil Shafer schrieb am 07.07.2010 um 14:03 (-0400):
> XSLT-sters,
>
> Is the grouping-size attribute of xsl:number an attribute
> value template?
Yes.
> <xsl:variable name="gsize" select="1"/>
> <xsl:attribute name="age2">
> <xsl:number value="life-span/died - life-span/born"
> grouping-size="{$gsize}" grouping-separator="."/>
> </xsl:attribute>
> The "age" attribute comes out as expected, but "age2" uses "{$gsize}"
> which seems to have no affect at all.
Confirmed using libxml 20707, libxslt 10126 and libexslt 815.
MSXML 6.0, Saxon 6.5 and Xalan 2.7.1 produce the correct output.
> Am I missing something or does this attribute need AVT processing?
The latter. Looks like you've found a bug. You can report it here:
https://bugzilla.gnome.org/browse.cgi?product=libxslt
--
Michael Ludwig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]