Your query will return a list of objects which have the attribute "name". There may be more than one of them, hence you get the object.
HTH, Alias On 2/3/06, Kent Humphrey <[EMAIL PROTECTED]> wrote: > Continuing my further adventures in xpath land: > > clientList = XPath.selectNodes(this, "root/clients/client/@name"); > > trace(typeof(clientList[0])); > > That trace statement returns "object", so my array is an array of > objects, not the strings I was after. > > WIll I have to String(clientList[0]) everytime I need the string > value, or is there some other way? > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

