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:
cxl 2012-11-01 19:22:25 +00:00
parent 6ea6b06271
commit 8fc22bf83c
11 changed files with 393 additions and 459 deletions

View file

@ -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);