F
Francesc Guim Bernat
Dear Colleagues,
i'm developing a C++ .NET based application that works with System.Xml
library.
My problem appears when i try to save a document througt
XmlDocument->Save method, because it seems to add some strange
characters at the beginning of the saved XML document.
For instance, if first i print the document throught System::Console
class, the output is:
ini...<?xml version="1.0" encoding="UTF-8"?><ls:Empresa
xmlns:ls="uri:LeanSi (...)
where i've printed "ini..." string in order to test that no strange
simbol is included at the beginning of the XML document, contained in
InnerXml property of XmlDocument.
But when i save the same document througt XmlDocuemnt->Save, the saved
document contains:
<?xml version="1.0" encoding="UTF-8"?><ls:Empresa xmlns...
Do you know why the library adds "" ? This string is added in every
XmlDocument that i try to save.
Thanks,
Francesc
i'm developing a C++ .NET based application that works with System.Xml
library.
My problem appears when i try to save a document througt
XmlDocument->Save method, because it seems to add some strange
characters at the beginning of the saved XML document.
For instance, if first i print the document throught System::Console
class, the output is:
ini...<?xml version="1.0" encoding="UTF-8"?><ls:Empresa
xmlns:ls="uri:LeanSi (...)
where i've printed "ini..." string in order to test that no strange
simbol is included at the beginning of the XML document, contained in
InnerXml property of XmlDocument.
But when i save the same document througt XmlDocuemnt->Save, the saved
document contains:
<?xml version="1.0" encoding="UTF-8"?><ls:Empresa xmlns...
Do you know why the library adds "" ? This string is added in every
XmlDocument that i try to save.
Thanks,
Francesc