Error when loading XML file
Hello,
I try to concentrate my users on only a few of the tables of my database and threrefor I want to load these tables from an xml file. I use the Delphi VCL edition. Everytime when loading
acQueryBuilder1.MetadataContainer.LoadFromXML('c:\temp\dummy.xml');
I get an error "Error parsing XML: Ungültig auf der obersten Ebene im Dokument." German - means something like "... invalid on highest level / root level of document"
I get this error even if the two commands before work fine:
acQueryBuilder1.RefreshMetadata; // loads the tables, metadata from the database connected
acQueryBuilder1.MetadataContainer.SaveToXMLFile('c:\temp\dummy.xml'); // the file looks fine
acQueryBuilder1.MetadataContainer.LoadFromXML('c:\temp\dummy.xml'); // error here
What do I do wrong?
Regards
Harald
Hello Sergey,
thank You very much! It works fine now :-) Great support!
Regards
Harald