W
Wojtek
Hi,
I want to use tree-like structures in my program. All of them are
provided by user in config files. Tree's are looking like this:
AND
|
+--OR
| +--something
| +--something
|
+--OR
|
+--AND
| +--something
| +--something
|
+--something
AND's and OR's can be nested very deeply. It will be better if trees can
be non-binary.
The question is if it is possible to define it in XML. Namely if it is
capable of such dependencies in tags (recurrency?) ?
i.e.
<and>
<or>
<something>
<something>
</or>
<or>
<and>
<something>
<something>
</and>
<something>
</or>
</and>
sincerely
wojtek
I want to use tree-like structures in my program. All of them are
provided by user in config files. Tree's are looking like this:
AND
|
+--OR
| +--something
| +--something
|
+--OR
|
+--AND
| +--something
| +--something
|
+--something
AND's and OR's can be nested very deeply. It will be better if trees can
be non-binary.
The question is if it is possible to define it in XML. Namely if it is
capable of such dependencies in tags (recurrency?) ?
i.e.
<and>
<or>
<something>
<something>
</or>
<or>
<and>
<something>
<something>
</and>
<something>
</or>
</and>
sincerely
wojtek