RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
XMLDoc.NewXMLDocument Function

Returns the interface for a new, empty XML document.

Pascal
function NewXMLDocument(Version: DOMString = '1.0'): IXMLDocument;
C++
IXMLDocument NewXMLDocument(DOMString Version = '1.0');

Call NewXMLDocument to create a TXMLDocument object for a new, empty XML document. 

Version specifies the XML version that the document should use. It becomes the value of the new document's Version property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!