Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.05.23;
Скачать: CL | DM;

Вниз

Компонент TXMLDocument   Найти похожие ветки 

 
Talle   (2004-05-06 17:08) [0]

Поскажите, пожалуйста, как работать с этим компонентом.


 
Курдль ©   (2004-05-06 17:19) [1]

TXMLDocument represents an XML document.

Unit

XMLDoc

Description

Use TXMLDocument to represent an XML document. TXMLDocument can read an existing XML document from a file, it can be associated with an in-memory string that is the contents of an XML document, or it can create a new, empty XML document.

You can use TXMLDocument directly to load an XML document, read and edit it, and save any changes. You can also use TXMLDocument to access the objects generated by the XML Data Binding wizard.

TXMLDocument uses an external DOM (Document Object Model) parser to analyze the XML document. This parser is usually assigned by specifying the DOMVendor property.

When you set the Active property to True, TXMLDocument uses the DOM parser to parse the XML document so that you can examine or modify it. In particular, the DocumentElement property provides an interface to the root node of the document. You can use that interface to access its child nodes and to add or delete child nodes.

TXMLDocument implements the IXMLDocument interface. Applications obtain this interface from TXMLDocument or from the nodes in the document.

When TXMLDocument is created without an Owner, it behaves like an interfaced object. That is, when all references to its interface are released, the TXMLDocument instance is automatically freed. When TXMLDocument is created with an Owner, however, it behaves like any other component, and is freed by its Owner. When you add a TXMLDocument component from the component palette to a form or data module, it is automatically created with an Owner. When the TXMLDocument component is created using the global LoadXMLDocument function (or by a function that the XML Data Binding wizard generates to return the root node of the document), the function creates a TXMLDocument instance without an Owner.



Страницы: 1 вся ветка

Текущий архив: 2004.05.23;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.021 c
14-1083648492
Gorodov
2004-05-04 09:28
2004.05.23
Уменьшение размера программы


1-1083638054
Kair
2004-05-04 06:34
2004.05.23
Затирание формы


8-1078568613
Pat
2004-03-06 13:23
2004.05.23
Сжатие звука по G723.1


3-1083131925
Vilux
2004-04-28 09:58
2004.05.23
Регулярные выражения в MSSQL


11-1070817599
IDbsoft
2003-12-07 20:19
2004.05.23
Пример работы с SaveIcons2StreamEx