Validate against XSD

28/12/2004 - 10:30 por CK | Informe spam
I am doing a

Doc.Loadxml(myxml)
and I have an xsd schema that I want to validate the myxml against. How can
I do this. code would help.


Thanks in advance.

Preguntas similare

Leer las respuestas

#1 skar
28/12/2004 - 14:23 | Informe spam
Habla espaniol? :)
here's the code:
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.4.0");
xmlDoc.async = false;
xmlDoc.validateOnParse = true;
xmlDoc.load("books.xml");
if (xmlDoc.parseError.errorCode <> 0) {
var myErr = xmlDoc.parseError;
alert("You have error " + myErr.reason);
}"CK" wrote in message
news:
I am doing a

Doc.Loadxml(myxml)
and I have an xsd schema that I want to validate the myxml against. How


can
I do this. code would help.


Thanks in advance.


email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida