xsl-list
[Top] [All Lists]

[XSLT 2] rescue

2003-06-14 09:28:12
Hi

In Ruby I can do

  begin
    # do something
  rescue
    # do something else if the above failed
  end

How to do that in XSLT 2? (or XPath 2)

For example when the path in unparsed-text($path) does not point to
anything, I'd like to print a message and generate a comment, and I
want the transformation to be continued, not aborted.

Tobi

--
http://www.pinkjuice.com/


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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