<?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_42204</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">Dongguan 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>757</begin>    <begin-rule>4</begin-rule>    <end>971</end>    <end-rule>4</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>22.54515</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>113.91858</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_34094" from="757" to="757" >        <parent-name>南海郡</parent-name>        <transcribed-name>Nanhai Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_34004" from="758" to="971" >        <parent-name>广州</parent-name>        <transcribed-name>Guang Zhou</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>东莞县（757-971年）治所（张修桂编写）<br><br>唐至德二载（757年），改宝安为东莞，属广州（1）。治所即今广东省深圳市南头（2）。五代属兴王府（3）。宋属广州，开宝五年（972年），废入增城县（4）。<br><br>————————————————————<br>（1），《元和郡县图志》卷34?岭南道?广州?东莞县：“本汉博罗县地，晋成帝咸和六年于此置宝安县，属东莞（官）郡。隋开皇十年郡废，以县属广州。至德二年，改为东莞县，取旧郡名也。”（北京，中华书局，1983年，下册，885-890页）。<br>（2），《元和郡县图志》卷34?岭南道?广州?东莞县（至德二载以宝安县改名）：“西北至州三百里。”“南海，在县西二里。”（北京，中华书局，1983年，下册，890页）。<br>光绪五年《广州府志》卷64?建置略?城池：“新安县城，在城子冈，即东莞郡旧治。明洪武间设东莞守御所于此，二十七年广州左卫千户崔浩始开筑城池，”万历元年增建，康熙十年、四十三年，嘉庆十六年、二十二年重修。（台湾，成文出版社《中国方志丛书》第1号，2册，94页）。即新安县以故东莞郡治设县之后，未见迁徙。宣统元年《广东地舆全图》13?新安县图：新安县治位置即今深圳市南头（台湾，成文出版社《中国方志丛书》第108号），符合《元和志》记载，今深圳市宝安县当时为西乡。据此，定今深圳市南头，自刘宋以后宋开宝午年均为宝安县治所。<br>《读史方舆纪要》作至德二年改宝安为东莞，即迁县治于到涌，是为今县。按：此说不合《元和志》东莞县与广州的方位、里距，不从。<br>（3），光绪五年《广州府志》卷6?广州府沿革表?南汉：“兴王府，东莞。”（台湾，成文出版社《中国方志丛书》第1号，118页）。<br>（4），《宋史》卷90?地理六?广南东路?广州?东莞：“开宝五年，废入增城。六年复置。”（北京，中华书局，1977年，7册，2236页）。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>