我的XML格式为:
<RootNode name="Tree">
<ChildNode name="ChildNode1">
<LeafNode name="Leaf">Leaf1</LeafNode>
<LeafNode>Leaf2</LeafNode>
<ChildNode name="ChildNode1.1">
<LeafNode>Leaf1.1</LeafNode>
<LeafNode>Leaf1.2</LeafNode>
<LeafNode>Leaf1.3</LeafNode>
</ChildNode>
</ChildNode>
<ChildNode name="ChildNode2">
<LeafNode>Leaf3</LeafNode>
<LeafNode>Leaf3</LeafNode>
</ChildNode>
<ChildNode name="ChildNode3">
</ChildNode>
</RootNode>
如何使用SmartGWT将其转换为树?