HasNameSpace (xmldoc)
function HasNameSpace(const iURI:string):boolean;
Cette fonction teste si le domaine est présent.
| Note : NameSpaceElement doit être défini. |
| iURI | URI du domaine à tester. |
Exemple:
procedure foo(doc:TxmlDocument);
begin
if doc.HasNameSpace('http://fooooo') then
begin
....
end;
end;
Voir aussi: