how to get the detailed error info about XSL
shiwudao <[email protected]> Thu, 31 Jan 2008 09:27:43 +0000
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Hi, Anybody knows how to get detailed error message when I use Javascript/XSLTProcessor() under Firefox. For example, I wrote a XSL1.0 XSL file like: ... < xsl:if test=" $ level > 2 "> ... There should be " > ", but I wrote ">" When I call var xsltProcessor = new XSLTProcessor(); xsltProcessor.importStylesheet(myxsl); There will throw an exception with the error message: XSLT-Component returned failure code: 0x80600001 [nsIXSLTProcessor.importStylesheet] I do not think this information can give more about the error reason. But in the error console of FireFox, it will display an error message like: error: source:http s:// xxx.xxx.xxx.com:xxx/xxx/xsl/test.xsl line:45 column:27source: --------------------------^ The question is how can get this error message by javascript? thank you. _________________________________________________________________ MSN圣诞礼物火热登场,免费发放中,快来领取吧! http://im.live.cn/emoticons/?ID=18 _______________________________________________ dev-tech-xslt mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xslt