Equand, I think you need to do: $("Data item", xml).size()
On 12/6/07, Equand <[EMAIL PROTECTED]> wrote: > > > when in the root node of xml file i have only one node with text in > it, when i parse this xml using jquery, i' am unable to get the > included node... > for example > <Data> > <item name="test">text</item> > </Data> > > when i try then $("item", "Data", xml).size() > i will receive 0. > why that happens? that's quite illogical... > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com