A class implementing Collection to store references to child DomElement of Collection.element, using an index.
public class YourObject : GXml.Element {
[Description (nick="::Name")]
public string name { get; set; }
}
public class YourList : GXml.ArrayList {
construct {
try { initialize (typeof (YourObject)); }
catch (GLib.Error e) {
warning ("Initialization error for collection type: %s : %s"
.printf (get_type ().name(), e.message));
}
}
}