Skip to content

Commit

Permalink
Add noindex attribute to document element (#64)
Browse files Browse the repository at this point in the history
Supports values 'true' and 'false'
  • Loading branch information
TylerZeroMaster authored Jul 2, 2024
1 parent aa834ca commit 314dcfb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cnxml/xml/cnxml/schema/rng/0.7/cnxml-defs.rng
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,21 @@
<optional>
<ref name="bibliography"/>
</optional>
<ref name="noindex-attribute"/>
</element>
</define>

<define name="noindex-attribute">
<optional>
<attribute name="noindex">
<choice>
<value>true</value>
<value>false</value>
</choice>
</attribute>
</optional>
</define>

<define name="metadata">
<element name="metadata">
<ref name="common-attributes"/>
Expand Down

0 comments on commit 314dcfb

Please sign in to comment.