473,498 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML to Tree (Quick)


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
Jul 20 '05 #1
2 1584
Any tool that throws away the XML and opens up an org chart should be able
to handle it.

Bob Foster

"peetm" <NO*********@blueyonder.co.uk> wrote in message
news:oh********************************@4ax.com...

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

Jul 20 '05 #2
Anyone recommend/know of any tools like those Bob mentiones?

pemo

On Sat, 06 Sep 2003 04:54:27 GMT, "Bob Foster"
<bo********@comcast.net> wrote:
Any tool that throws away the XML and opens up an org chart should be able
to handle it.

Bob Foster

"peetm" <NO*********@blueyonder.co.uk> wrote in message
news:oh********************************@4ax.com.. .

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


Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5820
by: Jo | last post by:
I don't know if this can be done.. But here is what i am trying to do... I have a tree menu on a frameless page. I have the menu on the right hand side and a CGI web form post on the left....
14
5584
by: Dave | last post by:
Hello all, After perusing the Standard, I believe it is true to say that once you insert an element into a std::list<>, its location in memory never changes. This makes a std::list<> ideal for...
18
3515
by: Andromeda | last post by:
I've been trying to add a tree menu to my website with some luck (more or less). I came across a script on simplythebest.net, but I seem to be having a problem with it... and since they have no...
0
1342
by: Robert Oschler | last post by:
I am using XMLHttpRequest() from Javascript on the client side. XMLHttpRequest() expects a valid XML/XHTML document as a response. The target for the request is a PHP4 script running on my web...
19
6740
by: Christian Fowler | last post by:
I have a VERY LARGE pile of geographic data that I am importing into a database (db of choice is postgres, though may hop to oracle if necessary). The data is strictly hierarchical - each node has...
3
1567
by: Jim Bunton | last post by:
I can build a table which acts like a tree structure in Access97 A table has referential relationship with itself. A column 'NodeNo' (the keycol) has a one to many referential constraint to the...
9
6288
by: GiantCranesInDublin | last post by:
Hi, I am looking for the best performing solution for modifying and iterating an object graph in JavaScript. I have outlined below a simplified example of the object model and examples of how I...
1
2723
by: David Hirschfield | last post by:
I've written a tree-like data structure that stores arbitrary python objects. The objective was for the tree structure to allow any number of children per node, and any number of root nodes...and...
4
4039
by: Anthony Liu | last post by:
There are many ways to represent a binary tree on an ascii screen. 1 / \ 2 3 / \ / \ 4 5 6 7 or
4
2157
by: BenCoo | last post by:
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.