If all you have as the value is a String it is better to use setAttribute(String name, String value) because the DOM implementation may optimize the storage (ours does :-). Otherwise, simply changing appendChild to setAttributeNode would solve your problem. -- Arnaud Le Hors - IBM Cupertino, XML Strategy Group
- Append Attribute to each Element-Node Becker, Matthias
- RE: Append Attribute to each Element-Node Rick Bullotta
- RE: Append Attribute to each Element-Node Fernando Padilla
- Arnaud Le Hors
