topical media & game development

talk show tell print

server-php-xml-class-schematron-validation-sample1.xml / xml

  <schema xmlns="" > 
       <pattern name="Print both cases"> 
            <rule context="AAA"> 
                 <assert test="BBB">BBB element is missing.</assert> 
                 <report test="BBB">BBB element is present.</report> 
                 <assert test="@name">AAA misses attribute name.</assert> 
                 <report test="@name">AAA contains attribute name.</report> 

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.