Main BLOGGER
Google
WWW THIS BLOG
Sunday, March 12, 2006
 
xecers DOM parser validation
Note:
SchemaStr = TargetNamespace + " " + schemaFileLocation

SymString currentPath="C:\\pop\\mySoam\\servers\\sd\\adminManager\\u_test_xml\\";
SymString filename=currentPath+"sampleApp.xml";
SymString targetNamespace="http://www.platform.com/Symphony/Profile/Application";
SymString schemaFile=currentPath+"ApplicationProfile.xsd";
SymString schemaStr = targetNamespace + " " + schemaFile;
SymString buf;

hr = SymXmlUtil::copyXmlFile2Buffer(filename,buf,schemaStr);
if(SYM_FAILED(hr))
{
ISymErrorInfo *error=symGetErrorInfo();
SYM_RETHROW(error);
}



<< Home

Powered by Blogger

Google
WWW THIS BLOG