git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@399
de75baf8-a10c-0410-a50a-
987c0e22f00f
{
m_log.debug("marshalling text and child elements for XMLObject");
{
m_log.debug("marshalling text and child elements for XMLObject");
+ const XMLCh* val = getTextContent(pos);
+ if (val && *val)
+ domElement->appendChild(domElement->getOwnerDocument()->createTextNode(val));
+
const list<XMLObject*>& children=getOrderedChildren();
for (list<XMLObject*>::const_iterator i=children.begin(); i!=children.end(); ++i) {
const list<XMLObject*>& children=getOrderedChildren();
for (list<XMLObject*>::const_iterator i=children.begin(); i!=children.end(); ++i) {
- val = getTextContent(pos);
- if (val && *val)
- domElement->appendChild(domElement->getOwnerDocument()->createTextNode(val));
if (*i) {
#ifndef XMLTOOLING_NO_XMLSEC
(*i)->marshall(domElement,NULL,credential);
#else
(*i)->marshall(domElement);
#endif
if (*i) {
#ifndef XMLTOOLING_NO_XMLSEC
(*i)->marshall(domElement,NULL,credential);
#else
(*i)->marshall(domElement);
#endif
+ val = getTextContent(++pos);
+ if (val && *val)
+ domElement->appendChild(domElement->getOwnerDocument()->createTextNode(val));
- val = getTextContent(pos);
- if (val && *val)
- domElement->appendChild(domElement->getOwnerDocument()->createTextNode(val));