<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/template/1" class="A" scope="wml" testtype="application" type="manual" source="wml13#11.4" device="both">
  <assertion>When an event binding (e.g. a DO or ONEVENT element) is specified within
a TEMPLATE element, that specification applies to all cards in the deck.
</assertion>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<template>
<do type="help" label="help">
<go href="#helpcard"/>
</do>
</template>
<card id="main">
<p>Ensure this page has a "help" option, then follow this&nbsp;<a href="#card1">link</a>.</p>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<p>Ensure this page has a "help" option, then follow this&nbsp;<a href="#card2">link</a>.</p>
<auto_failed>
</card>
]]>
    </card>
    <card id="2">
      <![CDATA[<card id="card2">
<p>Does this card and the others have a "help" option?
<yesno></p>
</card>
]]>
    </card>
    <card id="3">
      <![CDATA[<card id="helpcard">
<p>This is a help card</p>
</card>
]]>
    </card>
  </cards>
</test>

