srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 11 forks source link

Please change how location/@type="nested" data displays #1225

Closed davidamichelson closed 2 years ago

davidamichelson commented 4 years ago

This issue is based on a change to the encoding documented here: https://github.com/srophe/srophe-app-data/issues/803

Please see http://syriaca.org/place/78/tei for data example

When data is encoded in location/@type="nested" please:

By att.datable we mean: att.datable (@Calendar, @period) att.datable.w3c (@when, @notBefore, @notAfter, @from, @to) att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso) att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)

Please convert the attribute name to a label and then display with it the attribute value

Example code

<location type="nested" source="#bib78-1" to="0641">
<region ref="http://syriaca.org/place/145">Osrhoene</region>
<country ref="http://syriaca.org/place/166">Roman Empire</country>
</location>

Example display:

Location

wsalesky commented 2 years ago

fixed