<?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_40502</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">Shanghai 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>1292</begin>    <begin-rule>4</begin-rule>    <end>1911</end>    <end-rule>6</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>31.22443</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>121.48676</degrees-longitude>    <geo-source>FROM_FD</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_32438" from="1292" to="1325" >        <parent-name>松江府</parent-name>        <transcribed-name>Songjiang Fu</transcribed-name>      </part-of>      <part-of parent-id="hvd_32091" from="1326" to="1327" >        <parent-name>嘉兴路</parent-name>        <transcribed-name>Jiaxing Lu</transcribed-name>      </part-of>      <part-of parent-id="hvd_32439" from="1328" to="1911" >        <parent-name>松江府</parent-name>        <transcribed-name>Songjiang 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>上海县（1292-1911年）治所<br><br>元至元二十九年（1292）析华亭县地置上海县，属松江府。[1]县治从元到民国，各种文献均未见县治迁徙记载。上海县治所在今上海市南市区人民路中华路环线以内。<br><br>[1]置县年代，一说置于元至元二十七年（1290）。《元史·地理志》：“江浙等处行中书省……江南浙西道肃政廉访使……松江府，……领县二：……上海，上，本华亭县地，至元二十七年，以户口繁多，置上海县，属松江府。”嘉庆《松江府志》卷一沿革表作至元二十七年置上海县。<br>一说置于至元二十八年（1291）。松江知府张之翰《县学记》：“至元辛卯，割华亭东北五乡立县。”顾彧《图籍记》：“上海为松江属县，其为县，自元之至元二十八年始。”均载弘治《上海志》卷五。<br>一说置于至元二十九年（1292）。邑人唐时措《建县治记》：“至元壬辰春，圣天子以华亭地大，民众难理，命分高昌、长人、北亭、海隅、新江五乡凡二十六保立县，上海因以名，隶松江府，从参政冀公之请也。”见弘治《上海志》卷五。弘治《上海志》卷一：“至元二十九年，以民物繁庶，始割华亭东北五乡立县于镇，隶松江府。”嘉靖《上海县志》、嘉庆《一统志》均同。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>