<?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_42555</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">Anhai 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>622</begin>    <begin-rule>4</begin-rule>    <end>756</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.54998</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>108.05276</degrees-longitude>    <geo-source>FROM_FD</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_34148" from="622" to="627" >        <parent-name>玉山州</parent-name>        <transcribed-name>Yushan Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34145" from="628" to="674" >        <parent-name>钦州</parent-name>        <transcribed-name>Qin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34149" from="675" to="741" >        <parent-name>陆州</parent-name>        <transcribed-name>Lu Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34150" from="742" to="756" >        <parent-name>玉山郡</parent-name>        <transcribed-name>Yushan Jun</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>安海县（622-756年）治所（张修桂编写）<br><br>唐武德五年（622年），以海安县改名，属玉山州（1）。治所即今广西东兴县东罗浮村（2）。贞观二年（628年）州废，县属钦州，高宗上元二年（675年）改属陆州（3）。至德二年（757年），改名宁海县（4）。<br><br>————————————————————<br>（1），《旧唐书》卷41?岭南道?陆州：“隋宁越郡之玉山县。武德五年，置玉山州，领安海、海平二县。贞观二年，废玉山州。上元二年，复置，改为陆州，以州界山为名。天宝元年，改为玉山郡。乾元元年，复为陆州。领县三：乌雷，州所治也；华清，旧玉山县，天宝年改；宁海县，旧安海县，至德二年改为宁海县也。”（北京，中华书局，1975年，5册，1758页）。《隋志》作海安，此作安海。今作唐武德五年置玉山州时，改海安县为安海县，至德二年又改为宁海。<br>（2），安平县，隋改海安，唐改安海，又改宁海。<br>《元和郡县图志》卷38?岭南道?陆州：“东至廉州界三百里，东北至钦州六百里。”管县三：首县“宁海县：本梁安海县，武德四年又置海平，至德二载更今名。罗佩山，在县东九里，其山在大海中。”（北京，中华书局，下册，962页）。<br>《旧唐书》卷41?岭南道?陆州：治乌雷，西南至当州宁海县二百四十里。（北京，中华书局，1975年，5册，1758页）。<br>《读史方舆纪要》卷104?广东?廉州府?钦州；“乌雷废县，州西南（按：当为东南。）百七十里。…上元二年改置陆州，治乌雷县，以州界陆水为名，天宝初曰玉山郡，乾元初复为陆州。宋开宝中，州县皆废。”“海安废县，在乌雷县西。隋县也。唐曰安海，为玉州治，贞观中属钦州，上元后属陆州，至德二载改曰宁海县。宋初废。”（北京，中华书局，1955年，5册，4313页）。<br>《嘉庆一统志》卷450?廉州府?古迹：宁海废县“在钦州西南徼外。本汉交趾郡地。萧梁置安平县，兼置黄州及海宁郡。隋开皇初，平陈郡废，十八年改州曰玉州，大业初州废，改县曰海宁，属宁越郡。唐曰宁海县，为陆州治。…《寰宇记》钦州西南至陆州二百四十里（按：今本《寰宇记》作七百四十里）。《舆地纪胜》今在化外。”（《四部丛刊续编》，商务印书馆，1934年，168册）。<br>据以上资料，安平县当在钦州西南二百四十里，县东九里大海中有罗佩山。《中国历史地图集》定点于今广西东兴县东罗浮村附近，从之。<br>（3），《唐书》卷43上?地理7：“陆州玉山郡，本玉山州，武德五年以宁越郡之安海、玉山置。贞观二年州废，县隶钦州。高宗上元二年复置，更名。”“县三：乌雷；华清，本玉山，天宝中更名；宁海，本安海。武德四年又置海平县，贞观十二年省。至德二载更名。”（北京，中华书局，1975年，4册，1112页）。<br>（4），见注（1）。又，《元和郡县图志》卷38?岭南道?陆州：管县三：首县“宁海县：本梁安海县，武德四年又置海平，至德二载更今名。”（北京，中华书局，下册，963页）。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>