[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Terry Ofner wrote:
I know this one: you want:
<xsl:variable name="stateName" select="current-group()[1]/@state"/>
current-group() is the sequence of all the members of the group, so you're getting the join of all the @state values of all the members.
Cheers,
E.
Re: [xsl] variables, grouping, and result-documents
Subject: Re: [xsl] variables, grouping, and result-documents From: Eliot Kimber <ekimber@xxxxxxxxxxxx> Date: Tue, 18 Dec 2007 15:42:55 -0600 |
Terry Ofner wrote:
It seems that I have this variable line in the wrong place:
<xsl:variable name="stateName" select="current-group()/@state"/>
Am I trying to do too much inside this one template? Do I need two templates?
I know this one: you want:
<xsl:variable name="stateName" select="current-group()[1]/@state"/>
current-group() is the sequence of all the members of the group, so you're getting the join of all the @state values of all the members.
Cheers,
E.
-- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] variables, grouping, and resu, Terry Ofner | Thread | Re: [xsl] variables, grouping, and , Abel Braaksma |
[xsl] variables, grouping, and resu, Terry Ofner | Date | Re: [xsl] variables, grouping, and , Abel Braaksma |
Month |