I am extracting a large piece of XML from database and would like to create my TreePanel in most efficient way possible based on this XML. The current method returns an XmlDocument object, which I can process node for node and build up in code-behind the TreePanel, however this would be highly inefficient and process intensive.

1. Taking your XML example, "https://examples2.ext.net/#/TreePanel/Loaders/Xml_File_Loading/" which loads from XmlDataSource and binds the XML file directly, would this same approach be possible?

2. If so, the above "authors.xml" example is a very simple XML Schema and does not contain any attributes for each node. Can you confirm that including attributes would simply bind as per above example assuming attributes are same list of properties defined in Node Constructor documentation? "http://docs.ext.net/index.html#topic_00000000000018E1_members--.html"

3. If so, could you provide an example of such with some attributes that could be included in the XML Schema with accompanying binding info.

4. How would custom attributes be handled?

5. Finally, I cannot make out how to deal with click (execute function) and right click (load context menu) events. Are these attributes or child nodes of some other description?

I can redefine my XML Schema exactly to meet required schema

Thank you