Delphi 中的 XMLDocument 类详解(1) - 等待研究的内容

AddChild( TagName: DOMString): IXMLNode; ;
AddChild( TagName, NamespaceURI: DOMString): IXMLNode; ;
CreateElement( TagOrData, NamespaceURI: DOMString): IXMLNode;
CreateNode( NameOrData: DOMString; NodeType: TNodeType = ntElement;  AddlData: DOMString = ): IXMLNode;
GetDocBinding( TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = ): IXMLNode;
GeneratePrefix( Node: IXMLNode): DOMString;
IsEmptyDoc: Boolean;

//过程 LoadFromFile(const AFileName: DOMString = ''); LoadFromStream(const Stream: TStream; EncodingType: TXMLEncodingType = xetUnknown); LoadFromXML(const XML: string); overload; LoadFromXML(const XML: DOMString); overload; Refresh; RegisterDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = ''); Resync; SaveToFile(const AFileName: DOMString = ''); dynamic; SaveToStream(const Stream: TStream); SaveToXML(var XML: DOMString); overload; SaveToXML(var XML: string); overload;


//属性 Active AsyncLoadState ChildNodes DocumentElement DOMDocument DOMImplementation DOMVendor Encoding FileName Modified Node NodeIndentStr NSPrefixBase Options ParseOptions SchemaRef StandAlone Version XML


//事件 AfterOpen : 打开后 AfterClose : 关闭后 AfterNodeChange : 修改后 BeforeOpen : 打开前 BeforeClose : 关闭前 BeforeNodeChange : 修改前 OnAsyncLoad : 异步解析时的状态


//接口 IXMLDocumentAccess IXMLNodeAccess IXMLDocument IXMLNode IXMLNodeList IXMLNodeCollection


posted on 2015-04-10 00:50  martian6125  阅读(169)  评论(0编辑  收藏  举报