开发者

how to use javascript to validate xml against schema in firefox?

I can do this in IE using ActiveXObject, however mozilla doesn't 开发者_StackOverflow社区support ActiveXObject. Is there any way I can use JS to validate an XML against an XSD schema in firefox?


No, no other browser has a Schema validator built-in. You would have to write your own in JavaScript, if you really wanted to run a validator in the browser. (It's a pretty unusual thing to want to do; usually this kind of thing is strictly server-side.)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜