Annotation of embedaddon/libxml2/test/schematron/zvon11.sct, revision 1.1.1.1

1.1       misho       1: <schema xmlns="http://www.ascc.net/xml/schematron" >
                      2:      <pattern name="Attributes present">
                      3:           <rule context="BBB">
                      4:                <assert test="not(@aaa) or (@aaa and @bbb)">The element must not have an isolated aaa attribute</assert>
                      5:                <assert test="not(@bbb) or (@aaa and @bbb)">The element must not have an isolated bbb attribute</assert>
                      6:           </rule>
                      7:      </pattern>
                      8: </schema>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>