//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
child = node->createChild((const char*) xmlNode->name);
for(xmlNs* ns = xmlNode->nsDef; ns != NULL; ns = ns->next)
child = node->createChild((const char*) xmlNode->name);
for(xmlNs* ns = xmlNode->nsDef; ns != NULL; ns = ns->next)
attributes(child, xmlNode->properties);
children(child, xmlNode->children);
attributes(child, xmlNode->properties);
children(child, xmlNode->children);