<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/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="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=DeleteAttributeByIndex_%28xmlitem%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=DeleteAttributeByIndex_(xmlitem)&amp;action=history"/>
		<updated>2026-05-07T19:59:19Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=DeleteAttributeByIndex_(xmlitem)&amp;diff=1188&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang='delphi'&gt;procedure DeleteAttributeByIndex(iIndex:Integer);&lt;/source&gt;  Cette fonction supprime l'attribut d'index indiqué.  {|class=&quot;wikitable&quot; |- |iIndex |Index de l'att...</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/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='delphi'&amp;gt;procedure DeleteAttributeByIndex(iIndex:Integer);&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction supprime l'attribut d'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'attribut a supprimer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exemple:&lt;br /&gt;
&amp;lt;source lang='delphi'&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='' 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>