More than one xsd for a xml validation
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a problem that i have three XSD for validate a XML. I use VC++ for validate the xml IXMLDOMSchemaCollectionPtr pSchemaCache; pSchemaCache.CreateInstance(__uuidof(XMLSchemaCache40)); //Add schema to schemacache hr = pSchemaCache->add(L"",_variant_t(_T("Path\\xdm1.xsd"))); //xdm1.xsd is the XSD in which i import the other two xsd. this code always fail I don't know why this is happend, can anyone know the reason,pleasse help me. Thanks & regards Vicky00000