In Javascript, you can always use the array-name[expression] form,
such as json.points['@attributes'];

The array-name.id form is precisely equivalent to array-name["id"]
*provided id is a valid javascript identifier*. Otherwise the latter
is invalid.

Colin

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to