Subject:Petri net to BPEL model transformation > How to find patterns? Author:Sagi - Date:04 Sep 2006 01:58 AM
Hello
How can I find/describe patterns in a Petri net graph with XSLT?
For instance a sequence, a concurrency, AND-split, AND-join, OR-split,
OR-join or a while loop.
Below you see a Petri net model (source model) which I would like to
transform into a BPEL model (target model).
Can you tell me what the corresponding XSLT code would look like?
My problem is to find patterns in a graph representation (Petri net)
and to transform them into a tree representation (BPEL). I think I will need to find the patterns recursively. It might be that such a transformation is not possible with the Petri net example given below. Or perhaps the Petri net XML would need further information (for example an attribute attached to a transition saying "this is the start of an AND-split").
I am grateful for any hints. If you need any further information to
solve the problem, please let me know.
Regards
Sagi
--------------------
source model
--------------------
<?xml version="1.0"?>
<petrinet>
<!-- start of Petri net -->
<place id="1"></place>
<transition id="2"></transition>