Re: [xsl] xsl transform

Subject: Re: [xsl] xsl transform
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Tue, 28 Jun 2005 16:33:35 +0200
Tempore 15:58:19, die 06/28/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Philippe LAPLANCHE <philippe.laplanche@xxxxxxxxxxxx>:

<xsl:template match="row"> (this I don't know how to make it work)
	<e>
		<xsl:for-each select="*">
			<xsl:attribute name="????">
				<xsl:value-of select="."/>
			</xsl:attribute>
		</xsl:for-each>
	</e>
</xsl:template>

Trythis one:


<xsl:template match="row"> (this I don't know how to make it work)
<e>
<xsl:for-each select="*">
<xsl:variable name="count"><xsl:number format="a" value="position()"/></xsl:variable>
<xsl:attribute name="{$count}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
</e>
</xsl:template>


regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
"N&N9N;N.N:N?N?N= N5N9N=N1N9 N<N1N;N;N?N= N7 ON9N;ON;N1N;N?N="  - NN;N5ON2N?ON;N?O

Current Thread