A
Abhinav
Hi ..
I have the following sort of xml (In an xmlType in the database ..)
<or_group>
<operand>a</operand>
<operand>
<and_group>
<operand>b</operand>
<not_group>
<operand>c</operand>
</not_group>
<and_group>
</operand>
</or_group>
This needs to be evaluated as
a+(b.(!c))
Here, a/b/c are linked to functions which return true/false values, with
the function taking some parameters.
It is possible to do this by creating a linked list out of the tree, and
evaluating in post fix using "native" planguages like C ..
Would like to know if it is possible in PL/SQL .. or is it wishful
thinking ?
Any replies .. even if to say that it isnt possible .. appreciated
Regards
Abhinav
I have the following sort of xml (In an xmlType in the database ..)
<or_group>
<operand>a</operand>
<operand>
<and_group>
<operand>b</operand>
<not_group>
<operand>c</operand>
</not_group>
<and_group>
</operand>
</or_group>
This needs to be evaluated as
a+(b.(!c))
Here, a/b/c are linked to functions which return true/false values, with
the function taking some parameters.
It is possible to do this by creating a linked list out of the tree, and
evaluating in post fix using "native" planguages like C ..
Would like to know if it is possible in PL/SQL .. or is it wishful
thinking ?
Any replies .. even if to say that it isnt possible .. appreciated
Regards
Abhinav