2014-01-28 | Paul Boddie | file changeset files shortlog | Remove spurious error conditions before parsing, perhaps caused by other users of libxml2 in an Apache environment. |
paul@340 | 1 | <?xml version="1.0"?> |
paul@340 | 2 | <schema xmlns="http://purl.oclc.org/dsdl/schematron"> |
paul@340 | 3 | <title>Test of Schematron validation</title> |
paul@340 | 4 | <pattern> |
paul@340 | 5 | <rule context="zoo"> |
paul@340 | 6 | <assert test="cage[@id]">A zoo contains cages each with an id attribute</assert> |
paul@340 | 7 | <assert test="cage[@description]">Each cage has a description attribute</assert> |
paul@340 | 8 | </rule> |
paul@340 | 9 | </pattern> |
paul@340 | 10 | </schema> |