P
peetm
Does anyonne know of a way/tool that can take this XML and produce an
org chart from it please?
XML
<?xml version="1.0"?>
<ParseTree>
<Original>
Time flies like an arrow whereas fruit flies like a banana
</Original>
<Sentence>
<NPL>
<w id="10.1" pos="NNT1">Time</w>
</NPL>
<VP>
<w id="10.2" pos="VVZ">flies</w>
<PP>
<NP>
<NPL>
<w id="10.3"
pos="II">like</w>
<w id="10.4"
pos="AT1">an</w>
<w id="10.5"
pos="NN1">arrow</w>
</NPL>
<PP>
<w id="10.6"
pos="CS">whereas</w>
<NP>
<NPL>
<w
id="10.7" pos="NN">fruit</w>
<w
id="10.8" pos="VVZ">flies</w>
</NPL>
<PP>
<w
id="10.9" pos="II">like</w>
<NPL>
<w id="10.10" pos="AT1">a</w>
<w id="10.11" pos="NN1">banana</w>
</NPL>
</PP>
</NP>
</PP>
</NP>
</PP>
</VP>
<Period>
<w id="10.12" pos=".">.</w>
</Period>
</Sentence>
</ParseTree>
pemo
org chart from it please?
XML
<?xml version="1.0"?>
<ParseTree>
<Original>
Time flies like an arrow whereas fruit flies like a banana
</Original>
<Sentence>
<NPL>
<w id="10.1" pos="NNT1">Time</w>
</NPL>
<VP>
<w id="10.2" pos="VVZ">flies</w>
<PP>
<NP>
<NPL>
<w id="10.3"
pos="II">like</w>
<w id="10.4"
pos="AT1">an</w>
<w id="10.5"
pos="NN1">arrow</w>
</NPL>
<PP>
<w id="10.6"
pos="CS">whereas</w>
<NP>
<NPL>
<w
id="10.7" pos="NN">fruit</w>
<w
id="10.8" pos="VVZ">flies</w>
</NPL>
<PP>
<w
id="10.9" pos="II">like</w>
<NPL>
<w id="10.10" pos="AT1">a</w>
<w id="10.11" pos="NN1">banana</w>
</NPL>
</PP>
</NP>
</PP>
</NP>
</PP>
</VP>
<Period>
<w id="10.12" pos=".">.</w>
</Period>
</Sentence>
</ParseTree>
pemo