{
//return this.mungeToString(this.node);
+
+
this.checkChildren();
this.readProps();
this.readArrayProps();
this.readListeners();
- this.iterChildren();
+
+ if (!this.node.props.has_key("* xinclude")) {
+ this.iterChildren();
+ }
+
+
+
if (this.els.size < 1) {
return "";
var spad = pad.substring(0, this.pad.length-4);
var str_props = gLibStringListJoin(",\n" + this.pad , this.els) ;
//print ("STR PROPS: " + str_props);
-
- return "{\n" +
- this.pad + str_props +
- "\n" + spad + "}";
+ if (!this.node.props.has_key("* xinclude")) {
+ return "{\n" +
+ this.pad + str_props +
+ "\n" + spad + "}";
+ }
+ // xinclude...
+
+
+ return "Roo.apply(" + this.node.props.get("* xinclude") + "._tree(), "+
+ "{\n" +
+ this.pad + str_props +
+ "\n" + spad + "})";
}
{
string left;
Regex func_regex ;
+
+ if (this.node.props.has_key("$ xns")) {
+
+ this.els.add("'|xns' : '" + this.node.props.get("$ xns") + "'");
+
+ }
+
+
try {
func_regex = new Regex("^\\s+|\\s+$");
} catch (Error e) {
// finally output listeners...
-
+ public void xIncludeToString()
+ {
+
+
+ }
}