Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 16, 2020
1 parent 7c03b72 commit 38a0261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions grammars/basicdoc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ hr = element hr { empty }
pagebreak = element pagebreak { empty }

index = element index {
attribute to { xsd:IDREF },
element primary { PureTextElement+ },
element secondary { PureTextElement+ }?,
element tertiary { PureTextElement+ }?
Expand Down
3 changes: 3 additions & 0 deletions grammars/basicdoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,9 @@
</define>
<define name="index">
<element name="index">
<attribute name="to">
<data type="IDREF"/>
</attribute>
<element name="primary">
<oneOrMore>
<ref name="PureTextElement"/>
Expand Down

0 comments on commit 38a0261

Please sign in to comment.