What's the difference between naming a node e.g. ns['name'] vs. ns.name?

The [] form is intended to be used when you want to calculate the name of a node (since the [] can contain any expression evaluating to a string), but if the name is known in advance, it's easier to say ns.name.

Why do we have these different ways of naming nodes? (last edited 2007-02-13 02:39:50 by TonyWillis)