Print a binary tree based on XML file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siilexx
    New Member
    • Aug 2010
    • 19

    Print a binary tree based on XML file

    Hello,
    I'm looking for a software that taken an XML file as input and will produce a binary tree as output.
    Does this exist ?
    Example of XML:
    Code:
    <root>
    <node>
    <type>AT_ROOT</type>
    <addr>0x100100360</addr>
    <left>0x100100330</left>
    <right>NULL</right>
    <bval>UNDIF_BOOL</bval>
    <sval>NULL</sval>
    <ival>0</ival>
    </node>
    <node>
    <type>AT_ILIST</type>
    <addr>0x100100330</addr>
    <left>0x1001002c0</left>
    <right>0x100100300</right>
    <bval>UNDIF_BOOL</bval>
    <sval>NULL</sval>
    <ival>0</ival>
    </node>
    <node>
    <type>AT_ILIST</type>
    <addr>0x1001002c0</addr>
    <left>0x100100250</left>
    <right>0x100100290</right>
    <bval>UNDIF_BOOL</bval>
    <sval>NULL</sval>
    <ival>0</ival>
    </node>
    </root>
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Does this exist ?
    I’m pretty much certain it does. but it wouldn’t be complicated to code it yourself either.

    Comment

    Working...