Re: [xsl] Better Error Handling with XSL

Subject: Re: [xsl] Better Error Handling with XSL
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2001 09:43:17 +0000
Hi Jibran,

> Does anyone know how i can tell IE to return more helpful errors? or
> is there an error handler that i can apply to the XSL parser?
> Currently, IE returns the line number in the asp were i call the
> transformNode function - this is not helpful. also for arguments
> sake what if i had 10 files imported - it would be helpful to know
> which file was causing my problem.

You'll get a little more help if you catch the parse or run-time
errors in the ASP code. Have a look at the MSXML documentation -
there's a section called "Performing Error Handling with XSLT" which
has some example code in it and should help.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread