<IA****@gmail.c omwrote in message
news:11******** **************@ 8g2000cwh.googl egroups.com...
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.
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:call-template name="loop-for-ever"/>
</xsl:template>
<xsl:template name="loop-for-ever">
<xsl:call-template name="loop-for-ever"/>
</xsl:template>
</xsl:stylesheet>
Cheers,
Dimitre Novatchev
<IA****@gmail.c omwrote in message
news:11******** **************@ 8g2000cwh.googl egroups.com...
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