<?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=DeleteAttributeByIndex_%28xmlitem%29</id>
	<title>DeleteAttributeByIndex (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=DeleteAttributeByIndex_%28xmlitem%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=DeleteAttributeByIndex_(xmlitem)&amp;action=history"/>
	<updated>2026-05-25T03:52:33Z</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=DeleteAttributeByIndex_(xmlitem)&amp;diff=1188&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang=&#039;delphi&#039;&gt;procedure DeleteAttributeByIndex(iIndex:Integer);&lt;/source&gt;  Cette fonction supprime l&#039;attribut d&#039;index indiqué.  {|class=&quot;wikitable&quot; |- |iIndex |Index de l&#039;att...</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=DeleteAttributeByIndex_(xmlitem)&amp;diff=1188&amp;oldid=prev"/>
		<updated>2009-08-07T13:45:49Z</updated>

		<summary type="html">&lt;p&gt;Nouvelle page : &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;procedure DeleteAttributeByIndex(iIndex:Integer);&amp;lt;/source&amp;gt;  Cette fonction supprime l&amp;#039;attribut d&amp;#039;index indiqué.  {|class=&amp;quot;wikitable&amp;quot; |- |iIndex |Index de l&amp;#039;att...&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;procedure DeleteAttributeByIndex(iIndex:Integer);&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction supprime l&amp;#039;attribut d&amp;#039;index indiqué.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|iIndex&lt;br /&gt;
|Index de l&amp;#039;attribut a supprimer.&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;
var idx:Integer;&lt;br /&gt;
begin&lt;br /&gt;
  for idx:=elt.AttributeCount-1 downto 0 do&lt;br /&gt;
   if Attributes[idx].value=&amp;#039;&amp;#039; then elt.DeleteAttributeByIndex(idx);&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;
*[[DeleteAttribute (xmlitem)|DeleteAttribute]]&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>