<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=AddAttribute_%28xmlitem%29</id>
	<title>AddAttribute (xmlitem) - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=AddAttribute_%28xmlitem%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=AddAttribute_(xmlitem)&amp;action=history"/>
	<updated>2026-05-25T01:45:55Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=AddAttribute_(xmlitem)&amp;diff=1185&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang=&#039;delphi&#039;&gt;function AddAttribute(const iName:string; const iValue:string):TxmlAttribute;&lt;/source&gt;  Cette fonction crée ou modifie un attribut du nom indiqué.  {|class=&quot;w...</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=AddAttribute_(xmlitem)&amp;diff=1185&amp;oldid=prev"/>
		<updated>2009-08-07T13:37:49Z</updated>

		<summary type="html">&lt;p&gt;Nouvelle page : &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function AddAttribute(const iName:string; const iValue:string):TxmlAttribute;&amp;lt;/source&amp;gt;  Cette fonction crée ou modifie un attribut du nom indiqué.  {|class=&amp;quot;w...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function AddAttribute(const iName:string; const iValue:string):TxmlAttribute;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction crée ou modifie un attribut du nom indiqué.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Result&lt;br /&gt;
|[[Attributs XML (tech)|Attribut xml]]&lt;br /&gt;
|-&lt;br /&gt;
|iName&lt;br /&gt;
|Nom de l&amp;#039;attribut.&lt;br /&gt;
|-&lt;br /&gt;
|iValue&lt;br /&gt;
|Valeur de l&amp;#039;attribut.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exemple:&lt;br /&gt;
&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;&lt;br /&gt;
procedure foo(elt:TxmlItem);&lt;br /&gt;
begin&lt;br /&gt;
  // add or update attribute &amp;quot;id&amp;quot;&lt;br /&gt;
  elt.AddAttribute(&amp;#039;id&amp;#039;,inttostr(elt.ItemParent.IndexOfItem(elt));&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi:&lt;br /&gt;
&lt;br /&gt;
{{Footer|Eléments XML (tech)}}&lt;br /&gt;
[[category:Elément XML]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
</feed>