xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Trapping XSL Errors.


Subject: RE: Trapping XSL Errors.
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Fri, 11 Aug 2000 19:25:30 +0100

Yup. Wrap it in a try catch
See www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml for full
examples. Version 2 covers most errors.
Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of lists@xxxxxxxxxx
>Sent: 11 August 2000 18:36
>To: XSL-List@xxxxxxxxxxxxxxxx
>Subject: 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


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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor