<?xml version="1.0" encoding="UTF-8"?><placename>  <system>China Historical GIS, Harvard University and Fudan University</system>  <license>CC BY-NC 4.0</license>  <uri>https://chgis.hudci.org/tgaz/placename/hvd_40547</uri> <spellings>    <spelling>      <written-form script="traditional Chinese">上元縣</written-form>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>    <spelling>      <written-form script="simplified Chinese">上元县</written-form>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>    <spelling>      <transcription system="Pinyin">Shangyuan Xian</transcription>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>  </spellings>  <feature-type>    <name>县</name>    <alternate-name>縣</alternate-name>    <transcription>xian</transcription>    <translation lang="en">county</translation>  </feature-type>  <temporal>    <begin>1357</begin>    <begin-rule>0</begin-rule>    <end>1911</end>    <end-rule>0</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>32.05256</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>118.76899</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location><br />
<b>Warning</b>:  Undefined array key "text_value" in <b>/var/www/html/tgaz/placename.php</b> on line <b>547</b><br />
     </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_32287" from="1357" to="1644" >        <parent-name>应天府</parent-name>        <transcribed-name>Yingtian Fu</transcribed-name>      </part-of>      <part-of parent-id="hvd_32285" from="1645" to="1911" >        <parent-name>江宁府</parent-name>        <transcribed-name>Jiangning Fu</transcribed-name>      </part-of>    </part-of-relationships>    <subordinate-units><br />
<b>Warning</b>:  Undefined array key "child_sys_id" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
<br />
<b>Warning</b>:  Undefined array key "begin_year" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
<br />
<b>Warning</b>:  Undefined array key "end_year" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
      <subordinate-unit sys-id="" from="" to="" ><br />
<b>Warning</b>:  Undefined array key "child_vn" in <b>/var/www/html/tgaz/placename.php</b> on line <b>567</b><br />
        <name></name><br />
<b>Warning</b>:  Undefined array key "child_tr" in <b>/var/www/html/tgaz/placename.php</b> on line <b>568</b><br />
        <transcribed-name></transcribed-name>      </subordinate-unit>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      <html><body>上元县（1357年—1911年）治所<br><br>元至正十七年（1357年）迁治今南京市，1912年废。<br><br>元至正十七年（1357年）迁治今南京市，与江宁县并为应天府治（1）。清顺治二年（1645年）地入清，并与江宁县并为江宁府治（2）。1912年1月改江宁府为南京府，并废同城治之江宁、上元二县（3）。<br><br>注：<br>（1）《明史》卷40《地理志一》：应天府，“上元县，倚郭，太祖丙申年（即元至正十六年，1356年）迁治淳化镇，明年复还旧治。”同书卷记：江宁县为应天府倚郭县（北京，中华书局，1874年，4册，911页）复还旧治，即还原治今南京市。《太平寰宇记》卷90《江南东道二》升州上元县：“今移在伪司会府”（金陵书局，光绪八年刊本，17册，11—12页）《景定建康志》卷15《地所统县名》：上元县，“《寰宇记》云国朝迁南唐司会府，今府治之东。”（《宋元方志丛刊》，北京，中华书局，1990年，2册，1523页）按南宋建康府治，在今南京市区，则北宋徙治司会府，在今南京市。自宋迁治今南京市后，除元至正十六年迁今淳化外，明清治所未迁。<br>（2）《清史稿》卷4《世祖本纪一》：顺治二年（1645年）五月，多铎帅至南京（明以应天府为南京），城降。闰六月，“改南京为江南省，应天府为江宁府。”（北京，中华书局，1977年，2册，95、97页）应天府郭下上元、江宁二县，同时入清。上元、江宁二县为江宁府治，据清《嘉庆一统志》卷73《江宁府一·建置沿革》，《四部丛刊续编》，商务印书馆，1934年，24册，1—3页。<br>（3）郑宝恒《民国时期政区沿革》，武汉市，湖北教育出版社，2000年，61页。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>