开发者

Uncaught TypeError: Object #<HTMLElement> has no method 'transformNode'

i have written a xsl file which get data from xml file and in another htm file i have written some small script.

code:

 if (broadcastMode == 0) {
            xslTarget.innerHTML = Terrestrial.transformNode(TerrestrialStyle.XMLDocument);
        }

it is work fine in IE but in google chrome i got this error:

Uncaught TypeEr开发者_如何学编程ror: Object # has no method 'transformNode'


You're trying to use Microsoft-proprietary XSLT code in a non-Microsoft browser, so it doesn't work.

Here is some information about XSLT in Firefox. Chrome seems to have some problems with XSL transformations; here is a Stackoverflow question with some information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜