Hi, firstly thanks indeed. I am triying to make a parsing of a xml, but this xml can be dynamic on the content, i mean:
<piece> <block> <title> 01</title> <subtitle> s01</subtitle> <description>descp 01</description> </block> <block> <description>xxxxxxxxxxx</description> <description>yyyyyyyy</description> <subtitle> s02</subtitle> </block> <block> <subtitle> eeeee</subtitle> <subtitle> eewqq</subtitle> <title> eqewqewq</title> </block> </piece> So ok, i do $("block", _P.data).each(function(i) to run each block and but if i do a simple find("title") it will put firstly the titles, so i wanna process child per child, i don“t care if it is a title, a subtitle or a description, so in the first block for example i would process Title, after subtitle and after description, but in the second one i will process description, after the second description and after the subtitle... So in that way i could process any composition on the xml. Can anybody help me? Thanks