Hi Kiran, You can use xml.name().localName
Thanks Arvind On Fri, Jan 29, 2010 at 4:05 AM, AsHu <[email protected]> wrote: > Hi Kiran, > > > use the below line of code inside the ResultMethod, You will get the ROOT > tag name:: > > > event.result.name() > > > Thanks & Regards > Ashutosh Pandey > +91 9582734522 > > "Research is what I'm doing when I don't know what I'm doing." > > > > > On Thu, Dec 31, 2009 at 4:21 AM, Kiran Kumar Vasireddy < > [email protected]> wrote: > >> Dear All, >> >> Is there any way to get the root node name in XML? I mean for example in >> the below code I want "Company" >> >> >> <Company name="GM" count="100"> >> <Model name="Chevi" Count="200"> >> ...... >> </Company> >> >> Thanks for your help >> Regards >> Kiran >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

