mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: Xmlize/Jsonize of containers moved as container methods
git-svn-id: svn://ultimatepp.org/upp/trunk@5506 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6ea6b06271
commit
8fc22bf83c
11 changed files with 393 additions and 459 deletions
|
|
@ -172,9 +172,7 @@ void XmlizeLang(XmlIO& xml, const char *tag, int& lang, const char *id)
|
|||
|
||||
String StoreAsXML(Callback1<XmlIO> xmlize, const char *name)
|
||||
{
|
||||
String n = Filter(name, CharFilterAlpha);
|
||||
if(IsNull(n))
|
||||
n = "app";
|
||||
String n = Filter(name ? name : "app", CharFilterAlpha);
|
||||
XmlNode node;
|
||||
xmlize(XmlIO(node(n), false, Value()));
|
||||
return AsXML(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue