XML flat from string

This example loads the tree from a XML flat string.

01.$(function () {
02.    $("#xml_f").tree({
03.        data : {
04.            type : "xml_flat",
05.            opts : {
06.                static : '<root><item parent_id="0" id="xml_1"><content><name><![CDATA[Root node 1]]></name></content></item><item parent_id="xml_1" id="xml_2"><content><name><![CDATA[Child node 1]]></name></content></item></root>'
07.            }
08.        }
09.    });
10.});