<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/do/2" class="A" scope="wml" testtype="application" type="manual" source="wml13#9.7" device="both">
  <assertion>When a DO element is specified within a TEMPLATE element,
and a DO element with the same NAME attribute is specified within a
CARD element, the CARD level element overrides the TEMPLATE level element.
</assertion>
  <results>
    <result>
      <name>shadow</name>
      <value>on</value>
    </result>
  </results>
  <method>
    <![CDATA[<template>
<do type="accept" name="accept">
<go href="<responseurl>">
<postfield name="shadow" value="off"/>
<sessionvars>
</go>
</do>
</template>
<card id="card1">
<p>
The template of this deck supplies a do task that is overridden by a
do task in this card. Select the accept option to test that the
override worked.
</p>
<do type="accept" name="accept">
<go href="<responseurl>">
<postfield name="shadow" value="on"/>
<sessionvars>
</go>
</do>
<auto_failed>
</card>]]>
  </method>
</test>

