lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.5.9 vs lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.5.10

- old
+ new

@@ -727,15 +727,30 @@ <empty/> </element> </define> <define name="index"> <element name="index"> - <attribute name="primary"/> + <attribute name="to"> + <data type="IDREF"/> + </attribute> + <element name="primary"> + <oneOrMore> + <ref name="PureTextElement"/> + </oneOrMore> + </element> <optional> - <attribute name="secondary"/> + <element name="secondary"> + <oneOrMore> + <ref name="PureTextElement"/> + </oneOrMore> + </element> </optional> <optional> - <attribute name="tertiary"/> + <element name="tertiary"> + <oneOrMore> + <ref name="PureTextElement"/> + </oneOrMore> + </element> </optional> </element> </define> <define name="index-xref"> <element name="index-xref">