thanks, i also found .localName()

On Tue, Apr 22, 2008 at 10:31 AM, Daniel Gold <[EMAIL PROTECTED]> wrote:

>   should just be able to do xmlObj.name();
>
> On Tue, Apr 22, 2008 at 8:58 AM, Derrick Anderson <
> [EMAIL PROTECTED]> wrote:
>
> >   i have a function which accepts XML as an argument, how can i retrieve
> > the root node name for that XML?
> >
> > so if the xml was <node2 attrib1="asdf">...  i need to get the 'node2'
> > value.
> >
> > thanks,
> > d.
> >
>
>  
>

Reply via email to