ccon.setProperty("user", "sa");
ccon.setProperty("pass", "");
cdb.setConfig("connection", ccon);
config.setConfig("database", cdb);
XmlConfig cdef = new XmlConfig(MXml.loadXml(
"<applications><application name='content'>"
+ "<definitions><table name='blub' id_column='id' name_column='name'><column name='id' type='string' size='40'/><column name='name' type='string' size='200'/><column name='parent' type='string' size='40'/></table></definitions>"
+ "<element name='root'><query sql='select * from blub_ where parent is null' table='blub' children='sub'/></element>"
+ "<children name='sub'><query sql='select * from blub_ where parent=$id$' table='blub' children='sub'/></children>"
+ "</application></applications>").getDocumentElement());