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

//函数
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
--------------------------------------------------------------------------------

你可能感兴趣的:(document)