Skip to content

Instantly share code, notes, and snippets.

@raffazizzi
Last active May 3, 2017 20:44
Show Gist options
  • Save raffazizzi/6b57a9c0016e46aebd249d5041ca4ae4 to your computer and use it in GitHub Desktop.
Save raffazizzi/6b57a9c0016e46aebd249d5041ca4ae4 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Addresses</title>
</titleStmt>
<publicationStmt>
<publisher>Outis</publisher>
<pubPlace>
<!-- This one should *possibly* be rendered with <html:address> -->
<address>
<addrLine>44, avenue de la Libération</addrLine>
<addrLine>BP 30687</addrLine>
<addrLine>54063 Nancy Cedex</addrLine>
<addrLine>FRANCE</addrLine>
</address>
</pubPlace>
</publicationStmt>
<sourceDesc>
<p>Born digital</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<head>Address list</head>
<list>
<item>
<address>
<addrLine>110 Southmoor Road,</addrLine>
<addrLine>Oxford OX2 6RB,</addrLine>
<addrLine>UK</addrLine>
</address>
</item>
<item>
<address>
<street>110 Southmoor Road</street>
<name type="city">Oxford</name>
<postCode>OX2 6RB</postCode>
<name type="country">United Kingdom</name>
</address>
</item>
<item>
<address>
<name type="org">Università di Bologna</name>
<name type="country">Italy</name>
<postCode>40126</postCode>
<name type="city">Bologna</name>
<street>via Marsala 24</street>
</address>
</item>
<item>
<address>
<addrLine>Centre d'Études Supérieures de la Renaissance</addrLine>
<addrLine>59, rue Néricault-Destouches</addrLine>
<addrLine> 37013
TOURS</addrLine>
<addrLine>France</addrLine>
</address>
</item>
<item>
<address>
<street>邯郸路220号</street>
<postCode>200433</postCode>
<name>上海市</name>
<name n="I">中華人民共和國</name>
</address>
</item>
<item>
<address>
<addrLine>沙田</addrLine>
<addrLine>新界</addrLine>
<addrLine>香港特別行政區</addrLine>
<addrLine>中華人民共和國</addrLine>
</address>
</item>
<item>
<address>
<addrLine>Computing Center, MC 135</addrLine>
<addrLine>P.O. Box 6998</addrLine>
<addrLine>Chicago, IL 60680</addrLine>
<addrLine>USA</addrLine>
</address>
</item>
</list>
</div>
</body>
</text>
</TEI>
@@ -93,10 +93,10 @@ of this software, even if advised of the possibility of such damage.
<desc>Process element address</desc>
</doc>
<xsl:template match="tei:address">
- <address>
+ <div>
<xsl:call-template name="makeRendition"/>
<xsl:apply-templates/>
- </address>
+ </div>
</xsl:template>
@@ -502,6 +502,9 @@ div.letter{
border-top:1pt solid green;
border-bottom:1pt solid green;
}
+div.address{
+ font-style: italic;
+}
/* title page */
div.titlePage,
div.titlepage{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment