void XMLWriter_File::ElementXMB(const XMBFile& file, XMBElement el) { XMLWriter_Element writer(*this, file.GetElementString(el.GetNodeName()).c_str()); XERO_ITER_ATTR(el, attr) writer.Attribute(file.GetAttributeString(attr.Name).c_str(), attr.Value); XERO_ITER_EL(el, child) ElementXMB(file, child); }