M
mikael petterson
Hi,
I am selecting all <raisesException>-tags. The output must look like this;
throws TestFailedException, CorruptHardwareException,
TemporarySwFailureException;
throws
TestFailedExceptionCorruptHardwareExceptionTemporarySwFailureException, ;
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="raisesException"><xsl:value-of select="@name"/>
<xsl:if
test="raisesException[not[position()=last()]]"><xsl:text>,</xsl:text></xsl:i
f>
</xsl:for-each>;
I am selecting all <raisesException>-tags. The output must look like this;
throws TestFailedException, CorruptHardwareException,
TemporarySwFailureException;
throws
TestFailedExceptionCorruptHardwareExceptionTemporarySwFailureException, ;
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="raisesException"><xsl:value-of select="@name"/>
<xsl:if
test="raisesException[not[position()=last()]]"><xsl:text>,</xsl:text></xsl:i
f>
</xsl:for-each>;