This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: RE: sequence numbering.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]