Return to zvon6.sct CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schematron |
1.1 misho 1: <schema xmlns="http://www.ascc.net/xml/schematron" > 2: <pattern name="Predefined values"> 3: <rule context="AAA"> 4: <report test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">O.K.</report> 5: <assert test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">The AAA value is not permitted.</assert> 6: </rule> 7: </pattern> 8: </schema>