xsl-list
[Top] [All Lists]

RE: [xsl] XTTE0570 at compilation, depending on runtime conditions?

2007-11-04 15:42:42
  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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>