mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-20 18:50:08 +03:00
* schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel
11 lines
363 B
Plaintext
11 lines
363 B
Plaintext
<schema xmlns="http://www.ascc.net/xml/schematron" >
|
|
<pattern name="a child of selected elements">
|
|
<rule context="CCC">
|
|
<assert test="parent::*[name()='BBB' or name()='DDD']">Element CCC must not be a child of element
|
|
<name path="parent::*"/>
|
|
</assert>
|
|
</rule>
|
|
</pattern>
|
|
</schema>
|
|
|