blob: a40af934a94cd41eb66a2c54e83980adc10f414f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<scxml datamodel="ecmascript">
<script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
<state id="start">
<onentry>
<fetch
target="http://data.wien.gv.at/daten/wfs?service=WFS&request=GetFeature&version=1.1.0&typeName=ogdwien:BAUMOGD&srsName=EPSG:4326&outputFormat=json&maxfeatures=5"
callback="data.wien"
type="json" />
</onentry>
<state id="wait">
<transition event="data.wien" target="final">
<script>
dump(_event);
</script>
</transition>
</state>
</state>
<final id="final" />
</scxml>
|