For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to use LDOM_XmlWriter

Ear MongHeng's picture

Hi everyone,
can anyone give me a sample of Class LDOM_XmlWriter. I don't know how to use it.

I look forward hearing from you soon.

thank in advance.

Pawel's picture

Hello MongHeng,

you could try looking at XmlLDrivers_DocumentStorageDriver.cxx.

Hope this helps,

Ear MongHeng's picture

Respected Pawel,

Thank you very much for your reply. i will look it but i am not sure i can understand or not?

Once again, Thank in advance.

From Cambodian Student.

Ear MongHeng's picture

Hi Pawel
I tried to use these class(XmlLDrivers_DocumentStorageDriver) but it had error.
Could you please give me sample code? and this is my code:

const Handle(CDM_Document) theDocument = NULL;
const Handle(XmlLDrivers_DocumentStorageDriver) XmlDocument = NULL;
XmlDocument->Write(theDocument, aFileName);

I look forward to hearing from you soon.
Thank in advance.

From Cambodian Student.