<?xml version="1.0"?>
<as:CAM
   CAMlevel="1"
   version="1.0"
xmlns:as="http://www.oasis-open.org/committees/cam"
xmlns:ex="http://jcam.org.uk/example" >
  <as:Header>
    <as:Description>No Description</as:Description>
    <as:Owner>Not Set</as:Owner>
    <as:Version>0.1</as:Version>
    <as:DateTime>2007-01-30T13:40:32</as:DateTime>
    <as:Parameters>
      <as:Parameter
         name="child"
         default="must exist"
         xpath="//ex:inside2/ex:child"
         use="local"/>
    </as:Parameters>
  </as:Header>
  <as:AssemblyStructure>
    <as:Structure
       ID="ex"
       taxonomy="XML"
       xpath="/ex:example"
       reference="">
      <ex:example>
        <ex:test
           name="Fred">
          <ex:inside>%value%</ex:inside>
          <ex:inside2>
            <ex:child>%must exist%</ex:child>
          </ex:inside2>
        </ex:test>
      </ex:example>
    </as:Structure>
  </as:AssemblyStructure>
  <as:BusinessUseContext>
    <as:Rules>
      <as:default>
        <as:context>
          <as:constraint
             condition=""
             action="makeOptional(//ex:inside2/ex:child)"/>
          <as:constraint
             condition=""
             action="setLength(//ex:test/ex:inside,10)"/>
          <as:constraint
             condition=""
             action="lookup(//ex:inside2/ex:child,qwerty)"/>
        </as:context>
      </as:default>
    </as:Rules>
  </as:BusinessUseContext>
  <as:Extension
     name="uk.org.jcam.camed.extensions.LookupLists">
    <as:include>qwerty.lists
      <look:LookupList
         name="qwerty">
        <look:item
           name="aswert">aswert
        </look:item>
        <look:item
           name="qwerty">qwerty
        </look:item>
      </look:LookupList>

    </as:include>
  </as:Extension>
</as:CAM>