Skip to content

Commit

Permalink
Adding rendition to rule
Browse files Browse the repository at this point in the history
  • Loading branch information
joeytakeda committed May 13, 2024
1 parent 5f0eb93 commit 80f14ac
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
9 changes: 9 additions & 0 deletions schema/lim.full.odd
Original file line number Diff line number Diff line change
Expand Up @@ -1768,6 +1768,15 @@
</valItem>
</valList>
</attDef>
<attDef ident="rendition" usage="opt">
<desc>Rendition</desc>
<valList type="closed">
<valItem ident="rnd:dashed">
<gloss>a dashed line</gloss>
<desc>a dashed line</desc>
</valItem>
</valList>
</attDef>
</attList>
<remarks>
<p>This element is semantically equivalent to the standard TEI <gi>milestone</gi> with <att>rendition</att> values. However, it may contain an optional <gi>desc</gi> child if further description of line is necessary.</p>
Expand Down
11 changes: 10 additions & 1 deletion schema/lim.rng
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xlink="http://www.w3.org/1999/xlink" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2023-10-06T21:56:45Z. .
Schema generated from ODD source 2024-05-13T21:32:45Z. .
TEI Edition: Version 4.5.0. Last updated on
25th October 2022, revision 3e98e619e
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.5.0/
Expand Down Expand Up @@ -8528,6 +8528,15 @@ Suggested values include: 1] 25% (25%); 2] 50% (50%); 3] 75% (75%); 4] 100% (100
</choice>
</attribute>
</optional>
<optional>
<attribute name="rendition">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rendition</a:documentation>
<choice>
<value>rnd:dashed</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(a dashed line) a dashed line</a:documentation>
</choice>
</attribute>
</optional>
<empty/>
</element>
</define>
Expand Down
9 changes: 9 additions & 0 deletions schema/modules/lim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,15 @@
</valItem>
</valList>
</attDef>
<attDef ident="rendition" usage="opt">
<desc>Rendition</desc>
<valList type="closed">
<valItem ident="rnd:dashed">
<gloss>a dashed line</gloss>
<desc>a dashed line</desc>
</valItem>
</valList>
</attDef>
</attList>
<remarks>
<p>This element is semantically equivalent to the standard TEI <gi>milestone</gi> with <att>rendition</att> values. However, it may contain an optional <gi>desc</gi> child if further description of line is necessary.</p>
Expand Down

0 comments on commit 80f14ac

Please sign in to comment.