<?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>http://tgaz.fudan.edu.cn/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>      <subordinate-unit sys-id="hvd_24305" from="1820" to="1820" >        <name>三林塘</name>        <transcribed-name>Sanlintang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139558" from="1911" to="1911" >        <name>三林塘</name>        <transcribed-name>Sanlintang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24302" from="1820" to="1820" >        <name>东沟</name>        <transcribed-name>Donggou</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139555" from="1911" to="1911" >        <name>东沟</name>        <transcribed-name>Donggou</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24299" from="1820" to="1820" >        <name>北桥</name>        <transcribed-name>Beiqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139552" from="1911" to="1911" >        <name>北桥</name>        <transcribed-name>Beiqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24301" from="1820" to="1820" >        <name>吴会镇</name>        <transcribed-name>Wuhuizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139554" from="1911" to="1911" >        <name>吴会镇</name>        <transcribed-name>Wuhuizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24304" from="1820" to="1820" >        <name>塘桥</name>        <transcribed-name>Tangqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139557" from="1911" to="1911" >        <name>塘桥</name>        <transcribed-name>Tangqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24306" from="1820" to="1820" >        <name>引翔港</name>        <transcribed-name>Yinxianggang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139559" from="1911" to="1911" >        <name>引翔港</name>        <transcribed-name>Yinxianggang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24307" from="1820" to="1820" >        <name>法华镇</name>        <transcribed-name>Fahuazhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139560" from="1911" to="1911" >        <name>法华镇</name>        <transcribed-name>Fahuazhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24300" from="1820" to="1820" >        <name>闵行</name>        <transcribed-name>Minhang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139553" from="1911" to="1911" >        <name>闵行</name>        <transcribed-name>Minhang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24262" from="1820" to="1820" >        <name>陈家行</name>        <transcribed-name>Chenjiahang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139515" from="1911" to="1911" >        <name>陈家行</name>        <transcribed-name>Chenjiahang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24298" from="1820" to="1820" >        <name>颛桥</name>        <transcribed-name>Zhuanqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139551" from="1911" to="1911" >        <name>颛桥</name>        <transcribed-name>Zhuanqiao</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24303" from="1820" to="1820" >        <name>高行</name>        <transcribed-name>Gaohang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139556" from="1911" to="1911" >        <name>高行</name>        <transcribed-name>Gaohang</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_24297" from="1820" to="1820" >        <name>龙华</name>        <transcribed-name>Longhua</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_139550" from="1911" to="1911" >        <name>龙华</name>        <transcribed-name>Longhua</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>