54 message <<
"Referenced setup '" << ref <<
"' was not found!";
55 G4Exception(
"G4GDMLReadSetup::getSetup()",
"NullSetup",
71 const xercesc::DOMNamedNodeMap*
const attributes = element->getAttributes();
72 XMLSize_t attributeCount = attributes->getLength();
74 for (XMLSize_t attribute_index=0;
75 attribute_index<attributeCount; attribute_index++)
77 xercesc::DOMNode* attribute_node = attributes->item(attribute_index);
79 if (attribute_node->getNodeType() != xercesc::DOMNode::ATTRIBUTE_NODE)
82 const xercesc::DOMAttr*
const attribute
83 =
dynamic_cast<xercesc::DOMAttr*
>(attribute_node);
93 if (attName==
"name") { name = attValue; }
96 for (xercesc::DOMNode* iter = element->getFirstChild();
97 iter != 0; iter = iter->getNextSibling())
99 if (iter->getNodeType() != xercesc::DOMNode::ELEMENT_NODE) {
continue; }
101 const xercesc::DOMElement*
const child
102 =
dynamic_cast<xercesc::DOMElement*
>(iter);