c++ builder中的 XMLDocument 类详解(1) - 要研究的问题

xiaoxiao2021-02-28  9

//函数 AddChild(const TagName: DOMString): IXMLNode; overload; AddChild(const TagName, NamespaceURI: DOMString): IXMLNode; overload; CreateElement(const TagOrData, NamespaceURI: DOMString): IXMLNode; CreateNode(const NameOrData: DOMString; NodeType: TNodeType = ntElement; const AddlData: DOMString = ''): IXMLNode; GetDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = ''): IXMLNode; GeneratePrefix(const 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 --------------------------------------------------------------------------------

出处: http://www.cnblogs.com/zhangdongsheng/ 作者: 张东升 QQ:290387340 本博客注有“转”字样的为转载文章,其余为本人原创文章,转载请务必注明出处或保存此段。欢迎交流c++ 编程技术 QQ:290387340
转载请注明原文地址: https://www.6miu.com/read-200402.html

最新回复(0)