XMLDocument.appendChild(XMLDocument.createProcessingInstruction("xml",'version="1.0" encoding="ISO-8859-1"'));
XMLDocument.appendChild(XMLDocument.createElement('Root'));
XMLDocument.save("test.xml");
http://lists.xml.org/archives/xml-dev/200108/msg01342.html
Br
Lars
-------------- Original message --------------
From: "vegar410" <[EMAIL PROTECTED]>
I try to create the following XML-file from Axapta:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root></Root>
My problem is how to create the first line of the file. I miss the
method XMLDocument.createXMLDeclaration in Axapta which creates such a
declaration in VB etc.
Vegar Imsland
SPONSORED LINKS Computer part Programming languages Microsoft axapta
Support exchange
YAHOO! GROUPS LINKS
Visit your group "development-axapta" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
SPONSORED LINKS
Computer part | Programming languages | Microsoft axapta |
Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.