在SmartGWT中使用XML创建树

时间:2012-02-15 15:10:56

标签: gwt tree smartgwt

我的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将其转换为树?

0 个答案:

没有答案