Items (xmldoc)
<source lang='delphi'>property Items[index:Integer]:TxmlItem;</source>
Lecture seule
Cette propriété accède aux éléments racines.
Exemple: <source lang='delphi'> procedure foo(doc:TxmlDocument); begin
if doc.Count<>0 then doSomething(doc.Items[0]);
end; </source>
Utilisation en itérateur <source lang='delphi'> procedure foo(doc:TxmlDocument); var itm:TxmlItem; begin
foreach itm in doc do doSomething(itm);
end; </source>
Voir aussi:
{{#if:Documents XML (tech)|
{{#if:Documents XML (tech)|— Documents XML (tech) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}