[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi sorin,
Using your approach, I would put in
inside the other for-each loop.
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Beginner-Problem
Subject: Re: [xsl] Beginner-Problem From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Fri, 22 Nov 2002 11:42:19 +0000 |
Hi sorin,
How to make that work? I tried this:
<xsl:template match="/"> <xsl:for-each select="/energyreport/energyconsumption"> <xsl:value-of select="@year"/> </xsl:for-each> </xsl:template>
That gives out the years, that's fine... but how to select the energy-attribute (only once each)?
Using your approach, I would put in
<xsl:for-each select="terajoule"> <xsl:value-of select="@energy"/> </xsl:for-each>
inside the other for-each loop.
Sincerely Ragulf Pickaxe :)
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: string processing, Dimitre Novatchev | Thread | AW: [xsl] looping through Elements , "Braumüller, Hans" |
[xsl] Re: string processing, Dimitre Novatchev | Date | AW: [xsl] looping through Elements , "Braumüller, Hans" |
Month |