<?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_42567</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">Neiting 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>598</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.28661</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>108.94868</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_34261" from="598" to="606" >        <parent-name>钦州</parent-name>        <transcribed-name>Qin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34144" from="607" to="620" >        <parent-name>宁越郡</parent-name>        <transcribed-name>Ningyue Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_34145" from="621" to="621" >        <parent-name>钦州</parent-name>        <transcribed-name>Qin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34147" from="622" to="627" >        <parent-name>南亭州</parent-name>        <transcribed-name>Nanting Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34145" from="628" to="741" >        <parent-name>钦州</parent-name>        <transcribed-name>Qin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_34146" from="742" to="757" >        <parent-name>宁越郡</parent-name>        <transcribed-name>Ningyue Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_34028" from="758" to="971" >        <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>内亭县（598-971年）治所（张修桂编写）<br><br>隋开皇十八年（598年）以新化县改名，属钦州，大业三年（607年）属宁越郡（1）。治所在今广西灵山县西南陆屋镇（2）。唐武德五年（622年）于县置南亭州，贞观二年（628年）州废，县仍属钦州，天宝元年（742年）属宁越郡，乾元元年（758年）复属钦州（3）。宋开宝五年（972年）省（4）。<br>————————————————————<br>（1），《隋书》卷31?宁越郡：“梁置安州，开皇十八年改曰钦州。”内亭县：“旧置宋广郡。平陈郡废，十七年改曰新化县，十八年改名焉。”（北京，中华书局，1973年，3册，885页）。<br>（2），《元和郡县图志》卷38?岭南道?钦州：“内亭县，东南至州一百里。本汉合浦县地，隋开皇十七年置，名新化，十八年改名内亭，属钦州。皇朝因之。”（北京，中华书局，下册，963页）。《读史方舆纪要》卷104?广东?廉州府?钦州?灵山县；“内亭废县，县西九十里。刘宋末置宋广县，属合浦郡，齐因之，梁置宋广郡。隋平陈郡废，县属钦州，开皇十七年改曰新化县，十八年又改曰内亭。唐武德五年，置南亭州于此，贞观二年州废，县仍属钦州。宋开宝五年废。”（北京，中华书局，1955年，5册，4316页）。<br>明崇祯十年《廉州府志》卷3?古迹?灵山县：“内亭县，在县治西九十里下甲乡陆屋村，遗址上存。”（中国书店，《稀见中国地方志汇刊》49册，1992年）。<br>据此，定内亭县于今广西灵山县西南陆屋镇。<br>（3），《旧唐书》卷41?岭南道?钦州：“隋宁越郡。武德四年平萧铣，改为钦州总管府，管一州，领钦江、安京、南宾、遵化、内亭五县。五年置如和县。其年，置玉州、南亭州，并隶钦州，以内亭、遵化二县属亭州。贞观元年，罢都督府。二年废亭州，复以内亭、遵化并来属。十年，省海平县。天宝元年，改为宁越郡。乾元元年，复为钦州也。旧领县七，天宝领县五。”内亭县：“隋县。武德五年，于县置南亭州。贞观二年，州废，复属钦州也。”（北京，中华书局，1975年，5册，1746页）。<br>（4），见注2《方舆纪要》。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>