| 
 
Subject: Re: [xsl] Problem Copying an element, always getting first in  the list From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Tue, 08 Feb 2005 17:04:35 +0100  | 
You can see that the ASIN is copying the first one in the iteration each time, and not the correct one for example Jims ASIN wich is 54321!!
<xsl:template match="@*|node()">
       <xsl:copy>
           <xsl:apply-templates select="@*|node()"/>
       </xsl:copy>
</xsl:template><xsl:template match="/Tests/Test/Attributes">
   <xsl:copy>
           <xsl:apply-templates select="@*|node()"/>
       <asin><xsl:value-of select="../ASIN"/></asin>
       </xsl:copy>
   </xsl:template>regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Gaudiam omnibus traderat W3C, nec vana fides
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] Problem Copying an element, a, Sian Mace | Thread | [xsl] Formatting xsd:duration with , Frans Englich | 
| RE: [xsl] Can I use a boolean varia, Michael Kay | Date | RE: [xsl] Can I use a boolean varia, Andrew Welch | 
| Month |