Subject: RE: XTTE0570 at compilation, depending on runtime conditions?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 4 Nov 2007 22:42:06 -0000
|
> So I guess to get this behaviour I should write instead:
>
> <xsl:otherwise>
> <xsl:sequence select="error(xs:QName('err:XTTE0570'))"/>
> </xsl:otherwise>
>
Either that or a call on xsl:message. In fact the call on xsl:message
doesn't have to specify terminate="yes" - if it does terminate="no" then
you'll get a run-time error (as well as the xsl:message output, hopefully).
Michael Kay
http://www.saxonica.com/
|