This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: RE: sequence numbering.
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 2 Apr 2002 20:07:31 +0200
- Subject: Re: Re: RE: [xsl] sequence numbering.
- References: <20020402160452.28025.qmail@mailweb23.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
the error is here:
> <xsl:value-of select="key('color',this_color)"/>
<xsl:value-of select="key('color',$this_color)"/>
So you select such a color-element:
<color id = "11">
<name>red</name>
</color>
>From here you can navigate for a "more correct" XPATH:
<xsl:value-of select="key('color',$this_color)/name"/>
So you won't have no whitespace problems.
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list