74 const xercesc::DOMNamedNodeMap*
const attributes = element->getAttributes();
75 XMLSize_t attributeCount = attributes->getLength();
77 for(XMLSize_t attribute_index = 0; attribute_index < attributeCount;
80 xercesc::DOMNode* attribute_node = attributes->item(attribute_index);
82 if(attribute_node->getNodeType() != xercesc::DOMNode::ATTRIBUTE_NODE)
87 const xercesc::DOMAttr*
const attribute =
88 dynamic_cast<xercesc::DOMAttr*
>(attribute_node);
89 if(attribute ==
nullptr)
92 "No attribute found!");
104 for(xercesc::DOMNode* iter = element->getFirstChild(); iter !=
nullptr;
105 iter = iter->getNextSibling())
107 if(iter->getNodeType() != xercesc::DOMNode::ELEMENT_NODE)
112 const xercesc::DOMElement*
const child =
113 dynamic_cast<xercesc::DOMElement*
>(iter);