adding messages and fields sync
authorVolker Birk <vb@pep-project.org>
Sat, 08 Jun 2019 15:25:57 +0200
branchsync
changeset 38237cdc35fbef57
parent 3822 f5b4744f11a6
child 3824 146e4fab0072
adding messages and fields
sync/gen_doc.yml2
     1.1 --- a/sync/gen_doc.yml2	Sat Jun 08 15:22:03 2019 +0200
     1.2 +++ b/sync/gen_doc.yml2	Sat Jun 08 15:25:57 2019 +0200
     1.3 @@ -28,9 +28,17 @@
     1.4              sort "ancestor::state/@name",
     1.5              sort "@target",
     1.6              sort "ancestor::event/@name";
     1.7 +        |
     1.8 +        apply "message" sort "@name";
     1.9 +        |
    1.10 +        for "set:distinct(message/field/@name)" {
    1.11 +            sort ".";
    1.12 +            |> field «.»
    1.13 +        }
    1.14      }
    1.15      template "state" | state «@name»
    1.16      template "transition"
    1.17          | from «ancestor::state/@name» -> to «@target» on event «ancestor::event/@name»
    1.18 +    template "message" | message «@name»
    1.19  }
    1.20