<schema xmlns="http://purl.oclc.org/dsdl/schematron"
  xmlns:zzz="zzzz"
	queryLanguageBinding="xslt2">

  <title>Dog Stuff</title>
  <p> wooooooof </p>
  <pattern> 
     <rule context="Dog" id="r1"  xml:lang="xx" zzz:xxxx="AAAAA" 
         properties="dog-species" >
     	
     	<report test="count(floppy-ears) &gt; 0"  id="a1"
     	   properties="floppy-ears">This dog has floppy ears!</report>
     	
     	 <report test="count(floppy-ears) &lt; 1"  id="a2"
     	   properties="non-floppy-ears">This dog doesn't have floppy ears!</report> 	    
     </rule>

  </pattern>
  
  
  <properties> 
    <property id="dog-species" name="species" value="canine" />
    <property id="floppy-ears" name="floppy-ears-or-not">floppy-ears</property>
    <property id="non-floppy-ears" name="floppy-ears-or-not">non-floppy-ears</property>
  </properties>
</schema>