Показать сообщение отдельно
Старый 28.09.2012, 17:53   #2  
michel1971 is offline
michel1971
Участник
 
79 / 80 (3) ++++
Регистрация: 14.01.2011
X++:
COM dom;
XMLProcessingInstruction    instruction;
xmlDocument  xmlDocument;
;
dom         = XMLDocument::XMLDOM();
xmlDocument = xmlNode::construct(dom);
instruction = xmlDocument.createProcessingInstruction('xml', 'version="1.0" encoding="UTF-8"');
xmlDocument.appendChild(instruction);