hi, i have a strange behaviour when parsing the xml below:
$.get('/test/Internetschuhe.XML', function(data) { $(data).find('item').each(function() { var $entry = $(this); var $sizenotnull = $entry.find("stock:contains('0')"); alert($sizenotnull.length); in firefox it works... the alert is 1 and thats right... i have one size with the stock 0 in msie7 the alert is 0... why... is it a bug? best regards m cologne <?xml version="1.0" encoding="iso-8859-1" standalone="no"?> <itemdata> <item> <number>131001051</number> <numberformated>131 001 051</numberformated> <producer> <id>7558</id> <name>ECCOLET SKO GMBH</name> <iln>5790000260676</iln> <vatid>DE118625892</vatid> </producer> <produceritem>80184-01001</produceritem> <articlesystem> <id>131</id> <text>Strassenhalbschuhe modisch</text> <system>SONST</system> <systemhierarchy>1234</systemhierarchy> <structures> <structure> <id>1</id> <text>Herrenschuhe</text> </structure> <structure> <id>13</id> <text>Schnürhalbschuhe</text> </structure> <structure> <id>131</id> <text>Strassenhalbschuhe modisch</text> </structure> <structure> <id>131</id> <text>Strassenhalbschuhe modisch</text> </structure> </structures> </articlesystem> <maingroup> <id>SH</id> <text>SCHUHE</text> </maingroup> <color>schwarz</color> <attributes> <attribute> <id>Farbe</id> <value>schwarz</value> </attribute> <attribute> <id>Material</id> <value>Glattleder</value> </attribute> </attributes> <variants> <variant> <id>SOPO</id> <text>Sonderposten</text> </variant> </variants> <vat> <id>normal</id> <value>19,00</value> </vat> <sizetable> <id>N02</id> <text>GERMANY</text> </sizetable> <standard>N</standard> <itemgroups> <itemgroup> <id>INTERNET</id> </itemgroup> </itemgroups> <picture>T:\Internet Bilder schuhe\131001051.jpg</picture> <sizes> <size> <sizeid>23</sizeid> <sizebarcode>400</sizebarcode> <sizeshort> 40</sizeshort> <sizelong> 40</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>0</stock> </size> <size> <sizeid>24</sizeid> <sizebarcode>410</sizebarcode> <sizeshort> 41</sizeshort> <sizelong> 41</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>1</stock> </size> <size> <sizeid>25</sizeid> <sizebarcode>420</sizebarcode> <sizeshort> 42</sizeshort> <sizelong> 42</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>2</stock> </size> <size> <sizeid>26</sizeid> <sizebarcode>430</sizebarcode> <sizeshort> 43</sizeshort> <sizelong> 43</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>3</stock> </size> <size> <sizeid>27</sizeid> <sizebarcode>440</sizebarcode> <sizeshort> 44</sizeshort> <sizelong> 44</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>3</stock> </size> <size> <sizeid>28</sizeid> <sizebarcode>450</sizebarcode> <sizeshort> 45</sizeshort> <sizelong> 45</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>2</stock> </size> <size> <sizeid>29</sizeid> <sizebarcode>460</sizebarcode> <sizeshort> 46</sizeshort> <sizelong> 46</sizelong> <gpp> 21,40</gpp> <gppcurrency>EUR</gppcurrency> <npp> 21,15</npp> <nppcurrency>EUR</nppcurrency> <sp> 59,95</sp> <spcurrency>EUR</spcurrency> <stock>1</stock> </size> </sizes> </item> ...next item...