S
Son KwonNam
The title is quite ambiguos.
Any way let me explain.
In java, the following is possible.
----
String str = "";
for (int i=0; i < 10; i++) {
str = str + i;
}
----
the str variable becomes "0123456789".
I tried that kind thing in XSLT. but failed.
---
<xsl:variable name="str1"/>
<xsl:variable name="str2"/>
<xsl:for-each select="/ROOT/ELEMENT">
<xsl:variable name="str1">
<xsl:value-of select="$str1"/>
<xsl:value-of select="@value1"/>
</xsl:variable>
<xsl:variable name="str2">
<xsl:value-of select="$str2"/>
<xsl:value-of select="@value1"/>
</xsl:variable>
</xsl:for-each>
<tr>
<td><xsl:value-of select="$str1"/></td>
<td><xsl:value-of select="$str2"/></td>
</tr>
---
Any other way to achieve this kind operation in XSLT?
--
** Son KwonNam
http://kr.blog.yahoo.com/kwon37xi
Please DO NOT reply to this message's email address.
The address is fake.
Any way let me explain.
In java, the following is possible.
----
String str = "";
for (int i=0; i < 10; i++) {
str = str + i;
}
----
the str variable becomes "0123456789".
I tried that kind thing in XSLT. but failed.
---
<xsl:variable name="str1"/>
<xsl:variable name="str2"/>
<xsl:for-each select="/ROOT/ELEMENT">
<xsl:variable name="str1">
<xsl:value-of select="$str1"/>
<xsl:value-of select="@value1"/>
</xsl:variable>
<xsl:variable name="str2">
<xsl:value-of select="$str2"/>
<xsl:value-of select="@value1"/>
</xsl:variable>
</xsl:for-each>
<tr>
<td><xsl:value-of select="$str1"/></td>
<td><xsl:value-of select="$str2"/></td>
</tr>
---
Any other way to achieve this kind operation in XSLT?
--
** Son KwonNam
http://kr.blog.yahoo.com/kwon37xi
Please DO NOT reply to this message's email address.
The address is fake.