<?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_95684</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">Sandui 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>398</begin>    <begin-rule>4</begin-rule>    <end>445</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>38.35766</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>111.94011</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_116004" from="398" to="445" >        <parent-name>新兴郡</parent-name>        <transcribed-name>Xinxing 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[      三堆县（398～445年）治所（王尚义/王杰瑜编写）

北魏天兴元年(398年)，置三堆县，属新兴郡。治所在今静乐县城①。太平真君七年（446年），并入平寇县②。

注：
①《读史方舆纪要》卷四十?山西二?太原府?静乐县
三堆城，“今县治。后魏初，尝置三堆县。太平真君七年，省三堆属平寇县，有三堆戍。西魏大统三年，宇文泰使柔然侵魏三堆，高欢击走之。又齐主洋天保四年，山胡围离石，洋讨之，胡走，因巡三堆，大猎而归。盖即三堆戍也。隋筑城置郡于此。宋白曰：今城内有堆阜三，俗犹名三堆城。”
（中华书局P1832，2005年。）
《大清一统志》卷一百十三?忻州
三堆故城，“今静乐县治。晋永嘉后尝为县。《魏书?地形志》平寇县，太平真君七年并三堆属焉。《北齐书?文宣帝纪》天保四年，山胡围离石，帝讨之，因廵三堆戍，大狩而归。《元和志》静乐县，西至岚州四十五里，城内有堆阜山，俗名三堆城。隋开皇三年自今宜芳县北移岢岚县于三堆城，十八年改为汾源县，大业二年改为静乐县。按《寰宇记》三堆城在县南八十里故县城，恐悮。”
按：三堆县具体的始置年代无考。所谓“北魏初”，考北魏于皇始元年（396年）方平定山西，又于天兴元年（398年）迁都平城，故将天兴元年（398年）确定为三堆县始置年代。
《元和郡县志》卷十四?河东道三?岚州
静乐县，“本汉汾阳地。城内有堆阜三，俗名三堆城。”
（中华书局P396，1984年。）
王仲荦《北周地理志》卷九河北上?北朔州?广安郡
岢岚，“有三堆城。今静乐县城关。”
（中华书局P890，1980年。） 
《明一统志》卷十九?太原府?静乐县
三堆城，“在静乐县城。内有堆阜因名，隋时所筑。”
②《魏书》卷一百六上《地形志二上》第五?肆州?永安郡
平寇，“真君七年并三堆、朔方、定阳属焉。” 
（中华书局P2474，1974年。）
光绪《山西通志》卷二十九《府州个县考》?忻州
静乐县，“北魏初，置三堆县。真君九年，并入平寇县，隶新兴郡。”
（中华书局P2577，1990年。）
按：光绪《山西通志》谓三堆县真君九年并入平寇县，恐误。今从《    ]]>  </source-note>  <source-uri>      </source-uri></placename>