Check XML file if it has the same structure

roqoephq

New Member
I have the following XML file like this:\[code\]<?xml version="1.0" encoding="utf-8"?><Config version="Vs1.00.00"><!-- xmlns="urn:xmldata-schema">--><<SystemSettings> <Workstation></Workstation> <Company></Company> <InstallationDate></InstallationDate> <SupportContactLine1></SupportContactLine1> <SupportContactLine2></SupportContactLine2> <SupportContactLine3></SupportContactLine3> <UserFile></UserFile></SystemSettings><Settings> <StartUpWorkspace></StartUpWorkspace> <StartLanguage></StartLanguage> <ExportPath></ExportPath> <ImportPath></ImportPath> <BackUpRestorePath></BackUpRestorePath> <AdjHistoryPath></AdjHistoryPath> <TestHistoryPath></TestHistoryPath> <LogFilePath></LogFilePath></Settings><DefaultSettings> <DefaultSupportLine1></DefaultSupportLine1> <DefaultSupportLine2></DefaultSupportLine2> <DefaultSupportLine3></DefaultSupportLine3> <DefaultUserFile></DefaultUserFile> <DefaultStartUpWorkspace></DefaultStartUpWorkspace> <DefaultStartLanguage></DefaultStartLanguage> <DefaultWorkspacePath></DefaultWorkspacePath> <DefaultExportPath></DefaultExportPath> <DefaultImportPath></DefaultImportPath> <DefaultBackUpRestorePath></DefaultBackUpRestorePath> <DefaultAdjHistoryPath></DefaultAdjHistoryPath> <DefaultTestHistoryPath></DefaultTestHistoryPath> <DefaultLogFilePath></DefaultLogFilePath> <DefaultMasterPassword crypt="No"></DefaultMasterPassword> <DefaultLogger></DefaultLogger></DefaultSettings></Config>\[/code\]I need to validate another XML file. Is there a way I can check another XML file if it has the same structure as my file here?
 
Back
Top