This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trapping XSL Errors.


Hi,

If you load up some XML into the MSXML DOM, you can easily trap any parsing
errors using the following code:

	"
	xmlObj.Load(Server.MapPath("temp.xml"))
	If xmlObj.parseError.errorCode <> 0 Then
	"

How do you trap similar level of detail when rendering some XML using an XSL
style sheet e.g. in the following piece of code:

	"
	renderedXML=xmlObj.TransformNode(xslObj)
	"

Is there a way? Any help would be gratefully received.

Many thanks,
Roland.





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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]