schematron validation
Posted: Thu Aug 25, 2005 12:07 am
hello,
i cannot validate my schematron schema. is there an error?
<sch:rule context="person">
<sch:assert test="(@sex= 'm' and
title = 'Mr.' or
(@sex = 'f' and title = 'Ms.'))">attribute sex und element title have to be compatible.</sch:assert>
</sch:rule>
thx,
gregor
i cannot validate my schematron schema. is there an error?
<sch:rule context="person">
<sch:assert test="(@sex= 'm' and
title = 'Mr.' or
(@sex = 'f' and title = 'Ms.'))">attribute sex und element title have to be compatible.</sch:assert>
</sch:rule>
thx,
gregor