---------------------------------------------------------------------------
| 81 | } |
| 82 | //--------------------------------------------------------------------------- |
| 83 | void XMLElementEx::ws(const AnsiString name, String val) |
| 84 | { |
| 85 | XMLElement * p = FirstChildElement(name.c_str()); |
| 86 | if( ! p ) |
| 87 | { |
| 88 | p = GetDocument()->NewElement(name.c_str()); |
| 89 | InsertEndChild(p); |
| 90 | } |
| 91 | p->SetText( ConvertToSave(val).c_str() ); |
| 92 | } |
| 93 | //--------------------------------------------------------------------------- |
| 94 | void XMLElementEx::ws(const AnsiString name, TStrings * val) |
| 95 | { |
no test coverage detected