AllocNameSpaceID (xmlitem)
<source lang='delphi'>function AllocNameSpaceID(const iID:string; const iURI:string):string;</source>
Cette fonction retourne l'identifiant du domaine et l'alloue si nécessaire.
iID | Identifiant candidat.
| ||||||
iURI | URI du domaine à allouer. |
Exemple: <source lang='delphi'> procedure foo(elt:TxmlItem); var itm:TxmlItem; begin
itm := TxmlItem.Create(elt); itm.ItemName := 'new'; itm.AllocNameSpaceID('.','This element default namespace');
end; </source>
Voir aussi:
{{#if:Eléments XML (tech)|
{{#if:Eléments XML (tech)|— Eléments XML (tech) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}