Skip to content

Commit

Permalink
Update 'ef' note type to allow 'category' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
klassenjm committed Oct 10, 2018
1 parent e571edb commit 0670bbc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion schema/usx_2.6.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ Footnote =
element note {
attribute style { "f" | "fe" | "ef" },
attribute caller { text },
(attribute category { text })?,
(FootnoteChar | text )+
}
FootnoteChar =
Expand Down Expand Up @@ -605,7 +606,7 @@ Reference =
Sidebar =
element sidebar {
attribute style { "esb" },
(attribute category { text })*,
(attribute category { text })?,
(Para | Table | Footnote | CrossReference)+
}
Figure =
Expand Down
7 changes: 5 additions & 2 deletions schema/usx_2.6.rng
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@
</choice>
</attribute>
<attribute name="caller"/>
<optional>
<attribute name="category"/>
</optional>
<oneOrMore>
<choice>
<ref name="FootnoteChar"/>
Expand Down Expand Up @@ -893,9 +896,9 @@
<attribute name="style">
<value>esb</value>
</attribute>
<zeroOrMore>
<optional>
<attribute name="category"/>
</zeroOrMore>
</optional>
<oneOrMore>
<choice>
<ref name="Para"/>
Expand Down

0 comments on commit 0670bbc

Please sign in to comment.