I am using XML automation to create XML document in Navision. But I don’t know how can I create node <!Doctype>. Can anybody tell me which method create this node?
Hi You could use xmlDoc.createProcessingInstruction(‘xml’, ‘version=“1.0”’); Paul Baxter
This is what I use: xmlDoc.AppendChild(xmlDoc.CreateXmlDeclaration(“1.0”, “UTF-8”, “no”));
Yes with both this I will get something like this: <?xml version="1.0" encoding="windows-UTF-8" ?> But I need : . How can I get it?
How about: XMLDocument.loadXML(’!DOCTYPE DeclarationFile SYSTEM “xxx.dtd”>’);
IF I will use previous one, I will get this: But I need: <?xml version="1.0" encoding="windows-UTF-8" ?> //I know how <—Don’t know how Any sugestion?
Hi, I needed it too. But MSDN help said: node <!Doctype> …denotes an extension to the Worldwide Web Consortium (W3C) DOM. So i didn’t used it. But if you will find the way, please say me.[B)]