[Home] [By Thread] [By Date] [Recent Entries]

Subject: [XSLT 2] rescue
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Sat, 14 Jun 2003 18:28:12 +0200
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



Current Thread
  • [XSLT 2] rescue
    • Tobias Reif - Sat, 14 Jun 2003 12:28:35 -0400 (EDT) <=
      • <Possible follow-ups>
      • I-Lin Kuo - Tue, 17 Jun 2003 08:42:46 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member