<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 Nov 2018 10:03:44 Z</lastBuildDate><pubDate>22 Nov 2018 11:04:52 Z</pubDate><description>Bonjour, &#13;
&#13;
Je bloque vraiment sur une question simple, j'espère que vous pourrez m'éclaircir...&#13;
&#13;
Je récupère via HTTPDonneRésultat(httpRésultat) un xml :&#13;
&#13;
[code:xml]&#13;
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
&lt;prestashop xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&#13;
  &lt;product&gt;&#13;
    &lt;id&gt;&lt;![CDATA[970]]&gt;&lt;/id&gt;&#13;
    [...]&#13;
    &lt;associations&gt;&#13;
      &lt;stock_availables nodeType="stock_available" api="stock_availables"&gt;&#13;
        &lt;stock_available xlink:href="https://volt-services.fr/beta/api/stock_availables/1490"&gt;&#13;
          &lt;id&gt;&lt;![CDATA[1490]]&gt;&lt;/id&gt;&#13;
          &lt;id_product_attribute&gt;&lt;![CDATA[0]]&gt;&lt;/id_product_attribute&gt;&#13;
        &lt;/stock_available&gt;&#13;
      &lt;/stock_availables&gt;&#13;
    &lt;/associations&gt;&#13;
  &lt;/product&gt;&#13;
  &lt;product&gt;&#13;
    &lt;id&gt;&lt;![CDATA[971]]&gt;&lt;/id&gt;&#13;
    [...]&#13;
    &lt;associations&gt;&#13;
      &lt;stock_availables nodeType="stock_available" api="stock_availables"&gt;&#13;
        &lt;stock_available xlink:href="https://volt-services.fr/beta/api/stock_availables/1491"&gt;&#13;
          &lt;id&gt;&lt;![CDATA[1491]]&gt;&lt;/id&gt;&#13;
          &lt;id_product_attribute&gt;&lt;![CDATA[0]]&gt;&lt;/id_product_attribute&gt;&#13;
        &lt;/stock_available&gt;&#13;
      &lt;/stock_availables&gt;&#13;
    &lt;/associations&gt;&#13;
  &lt;/product&gt;&#13;
&lt;/prestashop&gt;&#13;
&#13;
[/code]&#13;
&#13;
Et je souhaite juste pour chaque &lt;produit&gt; récupérer l'id dans stock_available.&#13;
&#13;
Quand je fais :&#13;
&#13;
[code:wl]&#13;
	sRepXML = XMLOuvre(HTTPDonneRésultat(httpRésultat),depuisChaîne)	&#13;
	Info(sRepXML.prestashop.product.associations.stock_availables.stock_available.id)&#13;
[/code]&#13;
&#13;
ça m'affiche bien l'id du premier produit mais quand j'utilise POUR TOUT&#13;
&#13;
[code:wl]&#13;
POUR TOUT ids DE sRepXML.prestashop.product&#13;
					&#13;
	Info(ids.associations.stock_availables.stock_available.id)&#13;
					&#13;
FIN&#13;
[/code]&#13;
&#13;
J'ai des résultats vides en boucle...&#13;
&#13;
Merci par avance pour votre aide ! :)</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple/read.awp</link><title>Question simple</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Christophe PRADEL</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222257/read.awp</comments><pubDate>28 Nov 2018 10:03:44 Z</pubDate><description>Salut,&#13;
&#13;
Même si ton post est plutôt flou (on ne connait pas la définition de tabRefs), voici un mode d'utilisation des tableau…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222257/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222257/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple/read.awp">Question simple</source><title>Re: Question simple</title></item><item><author>Themiller</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222248/read.awp</comments><pubDate>27 Nov 2018 17:38:56 Z</pubDate><description>Encore une question TRÈS simple mais j'ai vraiment un problème avec la logique des tableaux Windev... &#13;
&#13;
[code:wl]&#13;
POUR TOUT R…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222248/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222248/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple/read.awp">Question simple</source><title>Re: Question simple</title></item><item><author>Themiller</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222093/read.awp</comments><pubDate>22 Nov 2018 11:35:55 Z</pubDate><description>Christophe PRADEL a écrit : &#13;
&gt; Bonjour,&#13;
&gt; &#13;
&gt; Apparamment ça marche avec cette syntaxe :&#13;
&gt; &#13;
&gt; POUR i = 1 _À_ sRepXML.prestas…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222093/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222093/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple/read.awp">Question simple</source><title>Re: Question simple</title></item><item><author>Christophe PRADEL</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222091/read.awp</comments><pubDate>22 Nov 2018 11:28:14 Z</pubDate><description>Bonjour,&#13;
&#13;
Apparamment ça marche avec cette syntaxe :&#13;
&#13;
[code:wl]&#13;
POUR i = 1 _À_ sRepXML.prestashop.product..Occurrence&#13;
	Inf…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222091/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple-222091/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222090-question-simple/read.awp">Question simple</source><title>Re: Question simple</title></item></channel></rss>
