Skip to content

Commit

Permalink
Creation of RADAR target TEI specification
Browse files Browse the repository at this point in the history
ODD specification of the intended output of a RADAR entry after transform
  • Loading branch information
laurentromary committed Dec 16, 2024
1 parent 00be183 commit e720e78
Show file tree
Hide file tree
Showing 2 changed files with 14,375 additions and 0 deletions.
105 changes: 105 additions & 0 deletions RADAR2TEI/schema-TEI-RADAR/TEI_RADAR.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title>TEI with MathML</title>
<author>Sebastian Rahtz</author>
</titleStmt>
<publicationStmt>
<publisher>TEI Consortium</publisher>
<availability status="free">
<licence target="http://creativecommons.org/licenses/by-sa/3.0/"> Distributed under a Creative Commons
Attribution-ShareAlike 3.0 Unported License </licence>
<licence target="http://www.opensource.org/licenses/BSD-2-Clause"><p>Copyright 2013 TEI Consortium.</p><p>All
rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:</p><list>
<item>Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.</item>
<item>Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the
distribution.</item>
</list><p>This software is provided by the copyright holders and contributors "as is" and any express or
implied warranties, including, but not limited to, the implied warranties of merchantability and fitness
for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable
for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use, data, or profits; or business
interruption) however caused and on any theory of liability, whether in contract, strict liability, or
tort (including negligence or otherwise) arising in any way out of the use of this software, even if
advised of the possibility of such damage.</p></licence>
<p>TEI material can be licensed differently depending on the use you intend to make of it. Hence it is made
available under both the CC+BY and BSD-2 licences. The CC+BY licence is generally appropriate for usages
which treat TEI content as data or documentation. The BSD-2 licence is generally appropriate for usage of
TEI content in a software environment. For further information or clarification, please contact the <ref
target="mailto:[email protected]">TEI Consortium</ref>. </p>
</availability>
</publicationStmt>
<sourceDesc>
<p>authored from scratch</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>This customization loads the normal four core modules, plus <name>figures</name>; in the latter it adjusts the
content model of <gi>figure</gi> to allow the <gi>math</gi> element from MathML (see <ptr
target="http://www.w3.org/Math/"/>).</p>
<p>Example: <eg xml:space="preserve"><![CDATA[<formula>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow><mi>e</mi></mrow>
</math>
</formula>]]></eg></p>
<schemaSpec xmlns:teix="http://www.tei-c.org/ns/Examples" ident="tei_math" prefix="tei_" start="TEI teiCorpus"
defaultExceptions="http://www.w3.org/1998/Math/MathML http://www.tei-c.org/ns/1.0 teix:egXML">
<moduleRef url="https://www.tei-c.org/release/xml/tei/Exemplars/mathml2-main.rng"/>
<moduleRef key="header"/>
<moduleRef key="core"/>
<moduleRef key="tei"/>
<moduleRef key="textstructure"/>
<moduleRef key="figures"/>
<moduleRef key="namesdates"/>
<elementSpec module="figures" ident="formula" mode="change">
<content>
<elementRef key="mathml.math"/>
</content>
</elementSpec>
<elementSpec ident="keywords" mode="change">
<classes mode="change">
<memberOf key="model.listLike" mode="add"/>
</classes>
</elementSpec>
<elementSpec ident="list" mode="change">
<content>
<sequence>
<alternate minOccurs="0" maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
<elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/>
</alternate>
<alternate>
<sequence minOccurs="1" maxOccurs="unbounded">
<elementRef key="item"/>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence>
<elementRef key="headLabel" minOccurs="0"/>
<elementRef key="headItem" minOccurs="0"/>
<sequence minOccurs="1" maxOccurs="unbounded">
<elementRef key="label"/>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="item" minOccurs="0"/>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</alternate>
<sequence minOccurs="0" maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
</elementSpec>
</schemaSpec>
</body>
</text>
</TEI>
Loading

0 comments on commit e720e78

Please sign in to comment.