M
mel-tey chamon!
I have created a XML Writer program, and everything works, but I need to
revice my code and add this "version and encoding" header for completeness
and correctness... I am completely stuck!
I have done this so far:
DOM_Element root = xmlDoc.getRootElement();
root.setAttributes ("xmlns","etc.etc.");
Do I have to previous root called "?" - but this doesn't make much sense as
the tag begins "<?xml" and ends "?>"
From scouring the web, I believe that I coding with a legacy version of
xerces-c. (hence DOM_Element)
I cannot change or update the library
Please can I have a snippet of code?
Thanks a lot!
revice my code and add this "version and encoding" header for completeness
and correctness... I am completely stuck!
I have done this so far:
DOM_Element root = xmlDoc.getRootElement();
root.setAttributes ("xmlns","etc.etc.");
Do I have to previous root called "?" - but this doesn't make much sense as
the tag begins "<?xml" and ends "?>"
From scouring the web, I believe that I coding with a legacy version of
xerces-c. (hence DOM_Element)
I cannot change or update the library
Please can I have a snippet of code?
Thanks a lot!