... sync
authorVolker Birk <vb@pep-project.org>
Thu, 06 Jun 2019 12:55:10 +0200
branchsync
changeset 3810ff9655d83074
parent 3809 d40dc7086275
child 3811 6fbcc03677fc
...
sync/gen_dot.ysl2
     1.1 --- a/sync/gen_dot.ysl2	Thu Jun 06 12:43:13 2019 +0200
     1.2 +++ b/sync/gen_dot.ysl2	Thu Jun 06 12:55:10 2019 +0200
     1.3 @@ -21,8 +21,8 @@
     1.4      template "event" {
     1.5          param "state";
     1.6          choose {
     1.7 -            when "count(transition) > 0"
     1.8 -                apply "transition|condition/transition", 0
     1.9 +            when "count(descendant::transition) > 0"
    1.10 +                apply "descendant::transition", 0
    1.11                      with "state", "$state", with "event", "@name";
    1.12              otherwise
    1.13                  if "@name != 'Init'"