[REBOL] Nested Series
From: eric:mccinc at: 20-Oct-2000 9:46
Hey Guys,
I hope yall can help me with this one. I realize that this may be a simple
concept that I just may be missing the boat on. (I sure hope so, I would
hate to think I was stupid. lol)
Anyway, I have data that is best represented by a nested structure in the
form of
[document
[node1
[Subnode1 data1 data2]
[Subnode2
[subnode3 data2 data2 data3]
]
]
[node2 data1 data2]
[node3
[subnode1 data1 data2]
]
]
This is much like the values returned by the parse-xml function. I hade in
fact considered using the xml to represent my data in a file. My problem is
that I need to manipulat this structure based in the node names. I need the
capability to insert update and delete. Like I said I may be just missing
something here but for the life of me I can't figure it out. I had thought
of using index values off of the find or select but that is not support. I
realize that this is basic core stuff to rebol, I am just having real
trouble getting my mind around. The structure keeps behaving in ways that I
do not expect, I realize this is a fault on my part, but I could use a
little explanation. Please realize that I am new to rebol (though an
instant convert) and this is VERY diffrent from the java code I usually
wright. Thanks every one.