1

Topic: a XSD-file

I welcome!
There is a certain process on which input file XSD moves. It is necessary to be convinced that it .
How it to make? Whether there is any specification, something of type "XSD-schemes for XSD-files"?
I will be glad to an example in any programming language. It would be desirable to understand a principle.

2

Re: a XSD-file

muzzik wrote:

It is necessary to be convinced that it . How it to make?

it is Enough to load of it in  which will be  XML. In the presence of errors  to you on it informs
Whether

muzzik wrote:

There is any specification, something of type "XSD-schemes for XSD-files"?

Is XMLSchema.xsd

muzzik wrote:

I Will be glad to an example in any programming language

Please.

var xmldoc = new ActiveXObject ("Msxml2.FreeThreadedDOMDocument.6.0");
var SchemaCache = new ActiveXObject ("Msxml2.XMLSchemaCache.6.0");
xmldoc.async = false;
xmldoc.validateOnParse = false;
SchemaCache.add ("x-schema:books", "collection.xsd");//Here catch an exception
xmldoc.schemas = SchemaCache;
//The document will load only if a valid schema is attached to the xml
//file.
xmldoc.load ("collection.xml");
if (xmldoc.parseError.errorCode! = 0) {
var myErr = xmldoc.parseError;
WScript. Echo ("You have error" + myErr.reason);
} else {
WScript. Echo (xmldoc.xml);
}

3

Re: a XSD-file

Thanks! I will try.

4

Re: a XSD-file

[quote = _ Vasilisk _] it is passed...
There is XMLSchema.xsd

Only it does not describe all rules XSD.