<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<form id="get_status">
<block>Activating automatic helm control.</block>
<field name="status">
<prompt>Status?</prompt>
<grammar src="status.grxml" type="application/srgs+xml"/>
<catch event="help">
Please report the status of shields, engine and warp drive.
</catch>
</field>
<submit>
<block next="/report.do" namelist="status"/>
</submit>
</form>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<form id="get_status">
<block>Activating automatic helm control.</block>
<field name="status">
<prompt>Status?</prompt>
<grammar src="status.grxml" type="application/srgs+xml"/>
<catch event="help">
Please report the status of shields, engine and warp drive.
</catch>
</field>
<block>
<submit next="/report.do" namelist="status"/>
</block>
</form>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<form id="get_status">
<block>Activating automatic helm control.</block>
<field name="status">
<prompt>Status?</prompt>
<grammar src="status.grxml" type="application/srgs+xml"/>
<onerror event="help">
Please report the status of shields, engine and warp drive.
</onerror>
</field>
<block>
<submit next="/report.do" namelist="status"/>
</block>
</form>
</vxml>
|