Hi there - Can somebody give me some pointers on how I can create a
XSLT which will compile fine but will thow a runtime exception during
runtime.
I tried to do the following but it doesn't throw any runtime
exception.
<?xml version='1.0' encoding='utf-8'?>
<xsl:styleshe et version='1.0' xmlns:xsl='http ://www.w3.org/1999/XSL/
Transform'>
<xsl:template match='/'>
<xsl:variable name='a' select='1 div 0'/>
<xsl:copy-of select ='$a'/>
</xsl:template>
</xsl:stylesheet>
Thanks,
David
XSLT which will compile fine but will thow a runtime exception during
runtime.
I tried to do the following but it doesn't throw any runtime
exception.
<?xml version='1.0' encoding='utf-8'?>
<xsl:styleshe et version='1.0' xmlns:xsl='http ://www.w3.org/1999/XSL/
Transform'>
<xsl:template match='/'>
<xsl:variable name='a' select='1 div 0'/>
<xsl:copy-of select ='$a'/>
</xsl:template>
</xsl:stylesheet>
Thanks,
David
Comment