<?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_42550</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">Anjing 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>983</begin>    <begin-rule>4</begin-rule>    <end>1005</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>21.95143</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>108.61440</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_34029" from="983" to="1005" >        <parent-name>钦州</parent-name>        <transcribed-name>Qin 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>安京县（983-1005年）治所（张修桂编写）<br><br>宋太平兴国八年（983年），以保京县改名，属钦州（1）。治所即今广西钦州市（2）。景德三年（1006年）更名安远县（3）。<br><br>————————————————————<br>（1），《宋史》卷90?地理六?广南西路?钦州，宁越郡：“开宝五年，废遵化、钦江、内亭三县。天圣元年，徙州南宾寨。县二：灵山；安远，唐保京县，宋初改安京，景德中改今名。”（北京，中华书局，1977年，7册，2245页）。按：《寰宇记》钦州领县二：灵山，保京。《九域志》作景德三年改安京县为安远县。则保京改安京，当在太平兴国五年以后、景德以前，今作宋初太平兴国八年复改保京为安京。<br>（2），《嘉庆一统志》卷450?廉州府?古迹：安远故城“今钦州治。旧志：梁武帝分宋寿郡置安京郡。隋平陈郡废为安京县，属宁越郡。唐属钦州，至德二年改曰保京。宋初复曰安京，景德二年改曰安远县，仍属钦州。南渡后，移州来治，为倚郭县。明洪武七年，省入州。”（《四部丛刊续编》，商务印书馆，1934年，168册）。<br>（3），《元丰九域志》卷9?广南路：“钦州，宁越郡。治灵山县。县二：开宝五年省遵化、内亭、钦江三县入灵山。景德三年改安京县为安远。灵山；安远。”（北京，中华书局，上册，435页，1984年）。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>