Skip to content

Commit

Permalink
Fix settingDesc.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomazErjavec committed May 10, 2021
1 parent ca3720f commit 7cc16f1
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 99 deletions.
190 changes: 96 additions & 94 deletions ParlaMint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -454,100 +454,102 @@
</tagsDecl>
</encodingDesc>
<profileDesc>
<setting n="ParlaMint-BE">
<name type="city">Brussel</name>
<name type="country" key="BE">België</name>
<date when="2016-05-26" ana="#parla.sitting">2016-05-26</date>
</setting>
<setting n="ParlaMint-BG">
<name type="address">Parliament square</name>
<name type="city">Sofia</name>
<name type="country" key="BG">Bulgaria</name>
<date from="2014-10-27" to="2020-07-31"/>
</setting>
<setting n="ParlaMint-CZ">
<name type="org">Parlament České republiky - Poslanecká sněmovna</name>
<name type="address">Sněmovní 176/4</name>
<name type="city">Praha</name>
<name key="CZ" type="country">Czech Republic</name>
<date from="2013-11-25" to="2021-04-01">25.11.2013 - 01.04.2021</date>
</setting>
<setting n="ParlaMint-DK">
<name type="address">Folketinget, Christiansborg</name>
<name type="city">1240 Copenhagen K</name>
<name type="country" key="DK">Denmark</name>
<date from="2014-10-07" to="2020-09-29">7.10.2014 - 29.9.2020</date>
</setting>
<setting n="ParlaMint-ES">
<name type="address">Calle Floridablanca, s/n. 28071</name>
<name type="city">Madrid</name>
<name type="country" key="ES">Spain</name>
<date from="2015-01-20" to="2020-12-15">20.1.2015 - 15.12.2020</date>
</setting>
<setting n="ParlaMint-GB">
<name type="city">London</name>
<name type="place">Westminster</name>
<date from="2015-01-01" to="2021-03-31"/>
</setting>
<setting n="ParlaMint-HR">
<name type="address">Trg sv. Marka 6</name>
<name type="city">Zagreb</name>
<name type="country" key="HR">Croatia</name>
<date from="2016-11-15" to="2020-05-18">15.11.2016 - 18.5.2020</date>
</setting>
<setting n="ParlaMint-HU">
<name type="adress">Kossuth tér 1-3.</name>
<name type="city">Budapest</name>
<name type="country" key="HU">Hungary</name>
<date from="2014-05-09" to="2020-12-14">9.05.2014 - 14.12.2020</date>
</setting>
<setting n="ParlaMint-IS">
<name type="address">Kirkjustræti</name>
<name type="city">Reykjavik</name>
<name type="country" key="IS">Iceland</name>
<date from="2015-01-01" to="2020-09-30"/>
</setting>
<setting n="ParlaMint-IT">
<name type="address">Piazza Madama, 11</name>
<name type="city">Roma</name>
<name key="IT" type="country">Italia</name>
<date from="2013-03-15" to="2020-11-18">15.3.2013 - 18.11.2020</date>
</setting>
<setting n="ParlaMint-LT">
<name type="address">Gedimino pr. 53</name>
<name type="city">Vilnius</name>
<name key="LT" type="country">Lithuania</name>
<date from="2012-11-16" to="2020-11-10">16.11.2012 - 10.11.2020</date>
</setting>
<setting n="ParlaMint-LV">
<name type="address">Jēkaba ielā 11</name>
<name type="city">Rīga</name>
<name type="country" key="LV">Latvija</name>
<date from="1993-07-06" to="2020-12-21">06.07.1993 - 21.12.2020</date>
</setting>
<setting n="ParlaMint-NL">
<name type="address">Binnenhof</name>
<name type="city">Den Haag</name>
<name key="NL" type="country">The Netherlands</name>
<date from="2014-12-15" to="2020-09-15">2014-12-15 - 2020-09-15</date>
</setting>
<setting n="ParlaMint-PL">
<name type="address">ul. Wiejska 4/6/8</name>
<name type="city">Warszawa</name>
<name type="country" key="PL">Poland</name>
<date from="2015-11-06" to="2020-08-18">12.11.2015 - 14.8.2020</date>
</setting>
<setting n="ParlaMint-SI">
<name type="address">Šubičeva ulica 4</name>
<name type="city">Ljubljana</name>
<name type="country" key="SI">Slovenia</name>
<date from="2014-08-01" to="2020-07-16">1.8.2014 - 16.7.2020</date>
</setting>
<setting n="ParlaMint-TR">
<name type="city">Ankara</name>
<name type="country" key="TR">Turkey</name>
<date from="1996-11-28" to="2000-10-27"/>
</setting>
<settingDesc>
<setting n="ParlaMint-BE">
<name type="city">Brussel</name>
<name type="country" key="BE">België</name>
<date when="2016-05-26" ana="#parla.sitting">2016-05-26</date>
</setting>
<setting n="ParlaMint-BG">
<name type="address">Parliament square</name>
<name type="city">Sofia</name>
<name type="country" key="BG">Bulgaria</name>
<date from="2014-10-27" to="2020-07-31"/>
</setting>
<setting n="ParlaMint-CZ">
<name type="org">Parlament České republiky - Poslanecká sněmovna</name>
<name type="address">Sněmovní 176/4</name>
<name type="city">Praha</name>
<name key="CZ" type="country">Czech Republic</name>
<date from="2013-11-25" to="2021-04-01">25.11.2013 - 01.04.2021</date>
</setting>
<setting n="ParlaMint-DK">
<name type="address">Folketinget, Christiansborg</name>
<name type="city">1240 Copenhagen K</name>
<name type="country" key="DK">Denmark</name>
<date from="2014-10-07" to="2020-09-29">7.10.2014 - 29.9.2020</date>
</setting>
<setting n="ParlaMint-ES">
<name type="address">Calle Floridablanca, s/n. 28071</name>
<name type="city">Madrid</name>
<name type="country" key="ES">Spain</name>
<date from="2015-01-20" to="2020-12-15">20.1.2015 - 15.12.2020</date>
</setting>
<setting n="ParlaMint-GB">
<name type="city">London</name>
<name type="place">Westminster</name>
<date from="2015-01-01" to="2021-03-31"/>
</setting>
<setting n="ParlaMint-HR">
<name type="address">Trg sv. Marka 6</name>
<name type="city">Zagreb</name>
<name type="country" key="HR">Croatia</name>
<date from="2016-11-15" to="2020-05-18">15.11.2016 - 18.5.2020</date>
</setting>
<setting n="ParlaMint-HU">
<name type="adress">Kossuth tér 1-3.</name>
<name type="city">Budapest</name>
<name type="country" key="HU">Hungary</name>
<date from="2014-05-09" to="2020-12-14">9.05.2014 - 14.12.2020</date>
</setting>
<setting n="ParlaMint-IS">
<name type="address">Kirkjustræti</name>
<name type="city">Reykjavik</name>
<name type="country" key="IS">Iceland</name>
<date from="2015-01-01" to="2020-09-30"/>
</setting>
<setting n="ParlaMint-IT">
<name type="address">Piazza Madama, 11</name>
<name type="city">Roma</name>
<name key="IT" type="country">Italia</name>
<date from="2013-03-15" to="2020-11-18">15.3.2013 - 18.11.2020</date>
</setting>
<setting n="ParlaMint-LT">
<name type="address">Gedimino pr. 53</name>
<name type="city">Vilnius</name>
<name key="LT" type="country">Lithuania</name>
<date from="2012-11-16" to="2020-11-10">16.11.2012 - 10.11.2020</date>
</setting>
<setting n="ParlaMint-LV">
<name type="address">Jēkaba ielā 11</name>
<name type="city">Rīga</name>
<name type="country" key="LV">Latvija</name>
<date from="1993-07-06" to="2020-12-21">06.07.1993 - 21.12.2020</date>
</setting>
<setting n="ParlaMint-NL">
<name type="address">Binnenhof</name>
<name type="city">Den Haag</name>
<name key="NL" type="country">The Netherlands</name>
<date from="2014-12-15" to="2020-09-15">2014-12-15 - 2020-09-15</date>
</setting>
<setting n="ParlaMint-PL">
<name type="address">ul. Wiejska 4/6/8</name>
<name type="city">Warszawa</name>
<name type="country" key="PL">Poland</name>
<date from="2015-11-06" to="2020-08-18">12.11.2015 - 14.8.2020</date>
</setting>
<setting n="ParlaMint-SI">
<name type="address">Šubičeva ulica 4</name>
<name type="city">Ljubljana</name>
<name type="country" key="SI">Slovenia</name>
<date from="2014-08-01" to="2020-07-16">1.8.2014 - 16.7.2020</date>
</setting>
<setting n="ParlaMint-TR">
<name type="city">Ankara</name>
<name type="country" key="TR">Turkey</name>
<date from="1996-11-28" to="2000-10-27"/>
</setting>
</settingDesc>
</profileDesc>
<revisionDesc>
<change when="2021-05-10">
Expand Down
12 changes: 7 additions & 5 deletions Scripts/parlamint2root.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,13 @@
</xsl:template>

<xsl:template match="tei:settingDesc">
<xsl:for-each select="$docs//document(tei:item)/tei:teiCorpus">
<setting n="{@xml:id}">
<xsl:copy-of select="tei:teiHeader//tei:setting/tei:*"/>
</setting>
</xsl:for-each>
<xsl:copy>
<xsl:for-each select="$docs//document(tei:item)/tei:teiCorpus">
<setting n="{@xml:id}">
<xsl:copy-of select="tei:teiHeader//tei:setting/tei:*"/>
</setting>
</xsl:for-each>
</xsl:copy>
</xsl:template>

<xsl:template match="tei:change/@when">
Expand Down

0 comments on commit 7cc16f1

Please sign in to comment.