git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@384
de75baf8-a10c-0410-a50a-
987c0e22f00f
const XMLCh* val;
unsigned int pos=0;
const list<XMLObject*>& children=getOrderedChildren();
- for (list<XMLObject*>::const_iterator i=children.begin(); i!=children.end(); ++i, ++pos) {
+ for (list<XMLObject*>::const_iterator i=children.begin(); i!=children.end(); ++i) {
val = getTextContent(pos);
if (val && *val)
domElement->appendChild(domElement->getOwnerDocument()->createTextNode(val));
#else
(*i)->marshall(domElement);
#endif
+ ++pos;
}
}
val = getTextContent(pos);