29.3 Creating XML Documents (cont.)
- Build DOM tree to save to an XML document, for persistence or
transmission
- Set attributes w/the setAttribute method
- E.g.,
XMLCh xname = . . .;
XMLCh xvalue = . . .;
price_element->setAttribute(xname, xvalue);
prev
|top
|next