Subject: Re: [xsl] Beginner-Problem From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Fri, 22 Nov 2002 11:42:19 +0000 |
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)?
<xsl:for-each select="terajoule"> <xsl:value-of select="@energy"/> </xsl:for-each>
Sincerely Ragulf Pickaxe :)
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 |