But doesn't that object get put into the array (clientList - declared
as an array earlier), and I'm targeting a single item in the array?
On 3 Feb 2006, at 12:16, Alias wrote:
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders