I am trying to make a web based user interface to manage rules. I have
got a workflow editor which allows to drag and drop the components and
edit their labels. when i save this file it generates an html file
containing XML code for all the components.. can you provide me some
insight of how to use this xml to generate drl rule file.
The xml looks like ths..
-
-
<root>
-
<Workflow label="MyWorkflow" description="" href="" id="0">
<mxCell/>
</Workflow>
-
<Layer label="Default Layer" id="1">
<mxCell parent="0"/>
</Layer>
-
<Task label="when" description="" href="" id="2">
-
<mxCell vertex="1" parent="1">
<mxGeometry x="190" y="150" width="72" height="30" as="geometry"/>
</mxCell>
</Task>
-
<Subprocess label="a > 4" description="" href="" id="3">
-
<mxCell style="rounded" vertex="1" parent="1">
<mxGeometry x="180" y="220" width="72" height="32" as="geometry"/>
</mxCell>
</Subprocess>
-
<Edge label="" description="" id="4">
-
<mxCell style="straightEdge" edge="1" parent="1" source="2" target="3">
<mxGeometry as="geometry"/>
</mxCell>
</Edge>
-
<Task label="then" description="" href="" id="5">
-
<mxCell vertex="1" parent="1">
<mxGeometry x="340" y="140" width="72" height="32" as="geometry"/>
</mxCell>
</Task>
-
<Subprocess label="a = 5" description="" href="" id="6">
-
<mxCell style="rounded" vertex="1" parent="1">
<mxGeometry x="340" y="220" width="72" height="32" as="geometry"/>
</mxCell>
</Subprocess>
-
<Edge label="" description="" id="7">
-
<mxCell style="straightEdge" edge="1" parent="1" source="5" target="6">
<mxGeometry as="geometry"/>
</mxCell>
</Edge>
</root>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email