| 1649 | } |
| 1650 | |
| 1651 | void XMLElement::SetText(const char* inText) |
| 1652 | { |
| 1653 | if (FirstChild() && FirstChild()->ToText()) |
| 1654 | FirstChild()->SetValue(inText); |
| 1655 | else |
| 1656 | { |
| 1657 | XMLText* theText = GetDocument()->NewText(inText); |
| 1658 | InsertFirstChild(theText); |
| 1659 | } |
| 1660 | } |
| 1661 | |
| 1662 | void XMLElement::SetText(int v) |
| 1663 | { |
no test coverage detected