Hi,
I am selecting all <raisesExceptio n>-tags. The output must look like this;
throws TestFailedExcep tion, CorruptHardware Exception,
TemporarySwFail ureException;
throws
TestFailedExcep tionCorruptHard wareExceptionTe mporarySwFailur eException, ;
I need to have a comma ( ,) between all exceptions until the last were I
only have a semicolon ( ;).
Any hints?
//Mikael
This is the xsl I have:
==============
<xsl:for-each select="raisesE xception"><xsl: value-of select="@name"/>
<xsl:if
test="raisesExc eption[not[position()=last ()]]"><xsl:text >,</xsl:text></xsl:i
f>
</xsl:for-each>;
I am selecting all <raisesExceptio n>-tags. The output must look like this;
throws TestFailedExcep tion, CorruptHardware Exception,
TemporarySwFail ureException;
throws
TestFailedExcep tionCorruptHard wareExceptionTe mporarySwFailur eException, ;
I need to have a comma ( ,) between all exceptions until the last were I
only have a semicolon ( ;).
Any hints?
//Mikael
This is the xsl I have:
==============
<xsl:for-each select="raisesE xception"><xsl: value-of select="@name"/>
<xsl:if
test="raisesExc eption[not[position()=last ()]]"><xsl:text >,</xsl:text></xsl:i
f>
</xsl:for-each>;
Comment