<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:x="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  <head>
    <title>Basic mixed document</title>
    <x:model id="m1">
      <x:instance>
        <root xmlns="">
          <child/>
        </root>
      </x:instance>
      <x:bind nodeset="child" required="1"/>
    </x:model>
  </head>
  <body>
    <x:input ref="child" model="m1">
      <x:label>Label</x:label>
      <!-- @@@ the event name 'xforms-value-changing' is not recognized in XForms 1.0 @@@ -->
      <x:alert level="modal" ev:event="xforms-value-changing" xmlns:ev="http://www.w3.org/2001/xml-events">Oops!</x:alert>
    </x:input>
  </body>
</html>

