3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <title>XmlTreeLoader Example</title>
5 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
6 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
8 <link rel="stylesheet" type="text/css" href="xml-tree-loader.css" />
9 <script type="text/javascript" src="../../ext-all.js"></script>
10 <script type="text/javascript" src="../ux/XmlTreeLoader.js"></script>
11 <script type="text/javascript" src="xml-tree-loader.js"></script>
13 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
14 <script type="text/javascript" src="../shared/examples.js"></script>
18 <h1>XmlTreeLoader Example</h1>
19 <p>Demonstrates extending the native <tt>Ext.tree.TreeLoader</tt> to support loading XML data via the
20 custom <a href="../ux/XmlTreeLoader.js">Ext.ux.tree.XmlTreeLoader</a> class.</p>
21 <p>The XmlTreeLoader is then further extended to demonstrate additional custom, application-specific node processing.</p>
22 <p>The js is not minified so it is readable. See <a href="xml-tree-loader.js">xml-tree-loader.js</a>.</p>
23 <p>This demo loads an XML file in the following format:</p>
25 <pre style="font-size:11px;">
27 <author first="Fyodor" last="Dostoevsky" gender="m">
28 <book title="Crime and Punishment" published="1866" url="http://...">
29 Raskolnikov, a destitute and desperate former student...