summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-response-element.scxml
blob: eb0232060d2d8d59706774bd8a9ece5db14f7ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<scxml datamodel="ecmascript" name="test">
	<script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
	<state id="start">
		<state id="loop">
			<transition event="http" target="loop">
				<script>
					dump(_event);
				</script>
				<response status="200" requestexpr="_event.origin" />
			</transition>
		</state>
	</state>
	<final id="final" />
</scxml>