This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Better Error Handling with XSL
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: "Jibran Bisharat" <jibran at merlindata dot com>
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 22 Nov 2001 09:43:17 +0000
- Subject: Re: [xsl] Better Error Handling with XSL
- Organization: Jeni Tennison Consulting Ltd
- References: <018f01c172d8$32811fb0$1401640a@jibran>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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