| 73 | } |
| 74 | |
| 75 | void MdStandardAttribute::ToXml(IXmlNode& node) const { |
| 76 | // Add attributes to the node |
| 77 | if (ci_ > 0) { |
| 78 | node.SetAttribute("ci", ci_); |
| 79 | } |
| 80 | if (!lang_.empty()) { |
| 81 | node.SetAttribute("xml:lang", lang_); |
| 82 | } |
| 83 | for (const auto& [key,value] : custom_attribute_list_) { |
| 84 | node.SetAttribute(key, value); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | void MdStandardAttribute::FromXml(const IXmlNode& node) { |
| 89 | const auto attr_list = node.GetAttributeList(); |
nothing calls this directly
no test coverage detected