[jQuery] question for traversing xml

[jQuery] question for traversing xml


hi,
i have the xml below... this is a part of items of shoes and i need to
select "all size", but not if their stock is 0.
i can find the size with 0:
var $test = $entry.find("sizes > size > stock:contains('0')");
but i don't know how to find all sizes with not 0.
i used .not(), but it didn't work.
anybody an idea?
best regards from cologne, m
<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>5</stock>
            </size>
</sizes>