Sha256: ca434cea3c36b40bded4d0661289a06df0c5542fce34c7a996a27a1f402d1701
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 Bytes
Contents
<?xml version="1.0" encoding="UTF-8"?> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> <sch:ns uri="http://example.com/ns1" prefix="ex1"/> <sch:ns uri="http://example.com/ns2" prefix="ex2"/> <sch:ns uri="http://example.com/ns3" prefix="ex3"/> <sch:pattern> <sch:rule context="ex1:article"> <sch:assert test="ex2:title">article should have a title</sch:assert> </sch:rule> <sch:rule context="ex3:sec"> <sch:assert test="ex2:para">sec should have at least one para</sch:assert> </sch:rule> <sch:rule context="figure"> <sch:assert test="caption">figure should have a caption</sch:assert> </sch:rule> </sch:pattern> </sch:schema>
Version data entries
3 entries across 3 versions & 1 rubygems