J
June Brown
I am trying to validate some xml via msxml (works OK via xmlspy).
XML := CreateOLEObject('MSXML2.DOMDocument.4.0');
Xml.validateOnParse := true;
XML.resolveExternals := true;
XSDL := CreateOLEObject('MSXML2.XMLSchemaCache.4.0');
xsdl.validateOnLoad := true;
XSDL.add(NSEdit.Text,'aaa.xsd');
XSDL.add(NSEdit.Text,'bbb.xsd');
XSDL.add(NSEdit.Text,'ccc.xsd'
XML.async := false;
XML.load('aaa.xML');
bbb.xsd references a simple type in ccc.xsd, but msxml doesn't find
it, as I said xmlspy does.
Also mslxml doesn't seem to pick up the maxlength attribute.
Can any one give me some pointers to what I am doing wrong, or tell be
of a 3rd party product I can use from within code, which works!.
XML := CreateOLEObject('MSXML2.DOMDocument.4.0');
Xml.validateOnParse := true;
XML.resolveExternals := true;
XSDL := CreateOLEObject('MSXML2.XMLSchemaCache.4.0');
xsdl.validateOnLoad := true;
XSDL.add(NSEdit.Text,'aaa.xsd');
XSDL.add(NSEdit.Text,'bbb.xsd');
XSDL.add(NSEdit.Text,'ccc.xsd'
XML.async := false;
XML.load('aaa.xML');
bbb.xsd references a simple type in ccc.xsd, but msxml doesn't find
it, as I said xmlspy does.
Also mslxml doesn't seem to pick up the maxlength attribute.
Can any one give me some pointers to what I am doing wrong, or tell be
of a 3rd party product I can use from within code, which works!.