[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re[2]: document() missing the document

Subject: Re[2]: document() missing the document
From: Bernd Gauweiler <bernd@xxxxxxxxxxxxx>
Date: Thu, 22 Aug 2002 15:28:27 +0100
try except javascript
TBP> Sounds like you need a try/except clause to bracket the call to
TBP> selectSingleNode().  javascript these days can do that.

Sorry for not having been clear. I seek a mechanism to ignore the error
in XSLT. I am aware of the JavaScript exception mechanism, but by the
time I catch that exception the transformation has failed already. I
would like to see the *transformation* succeed (with no data copied in
from zorro.xml).

In my case, zorro.xml is used to add user-defined, optional,
supplementary data to the HTML output. I am now thinking of making the
presence of zorro.xml a requirement. That's acceptable because it could
be almost empty, but it's ugly because (a) its a kludge and (b) doesn't
handle the fact that the file might be present but the connection might
be broken.

XSLT is designed to have a lot to do with distributed, networked
applications. Given that, I find language support for partial failure
shockingly poor.

Thoughts, anybody?
Bernd


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.