ahh, I see. Try something like this... xml.children().(name().toString().search(/bnumber[0-9]+$/) == 0)
markgoldin_2000 wrote: > What I really want is all bnumber... and carsb.... elements. > > --- In flexcoders@yahoogroups.com, Paul Spitzer <[EMAIL PROTECTED]> wrote: > >> var nodes: XMLList = xml..bnumber1; >> >> Will get you all the bnumber1 elements. If that's what you mean? >> >> markgoldin_2000 wrote: >> >>> I have the follwing xml: >>> <curtrainblockscars> >>> <train_id>2</train_id> >>> <location>West Class</location> >>> <bnumber1>440</bnumber1> >>> <carsb1>9</carsb1> >>> <bnumber2>430</bnumber2> >>> <carsb2>36</carsb2> >>> </curtrainblockscars> >>> How can scan it for elements with a specific name(not value), for >>> example: bnumber1? >>> >>> Thanks >>> >>> >>> >>> >>> > > > > ------------------------------------ > >