views:

44

answers:

2

As far as I can tell, the only way of doing it is to use the Microsoft DOM object, but as far as I'm aware this isn't universally available, if you're browsing with Firefox on Linux for example.

For reasons of security and minimizing network traffic I can't pass the xml to an external tool to validate (much as I wish I could). Is there any way of getting javascript to do this regardless of the browser/platform being used?

A: 

check this http://technosatish.blogspot.com/2008/06/javascript-xsd-validation-and-examples.html

Space Cracker
This solution uses an ActiveX object, so how it is supposed to work on non-windows systems?
Iacopo
A: 

Ok, after a fair amount of research, it seems the simple answer to this one is 'no', unless I write my own validator in javascript.

Flynn1179