jquery xml select
        Posted  
        
            by Geln
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Geln
        
        
        
        Published on 2010-04-20T02:34:51Z
        Indexed on 
            2010/04/20
            2:43 UTC
        
        
        Read the original article
        Hit count: 511
        
hi,
How to select items whose sub-tag key's text starts with '001'?
<root>
    <item>
        <key>001001</key>
        <text>thanks</text>
    </item>
    <item>
        <key>001002</key>
        <text>very</text>
    </item>
    <item>
        <key>002001</key>
        <text>much</text>
    </item>
</root>
$(xml).find("item>[filter string]").each(function()
{
    alert(this);
});
© Stack Overflow or respective owner