Attributes have a bit of overhead for name-based lookup. On the other hand, that may be faster than linearly searching children by name, if that's what you want.
General advice is not to try to microoptimize on this basis. Use elements for structure, or for things which must contain structure; use attributes for simple-valued annotations that help describe that structure. ______________________________________ Joe Kesselman / IBM Research --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
