<?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_95692</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">Pingkou 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>446</begin>    <begin-rule>4</begin-rule>    <end>560</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.41314</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>112.77694</degrees-longitude>    <geo-source>95680</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_116004" from="446" to="528" >        <parent-name>新兴郡</parent-name>        <transcribed-name>Xinxing Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_116113" from="529" to="560" >        <parent-name>永安郡</parent-name>        <transcribed-name>Yongan 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[      平寇县（446～560）治所（王尚义/王杰瑜编写）

北魏太平真君七年（446年），置平寇县，属新兴郡。永安二年（529年），属永安郡①。北齐太宁元年（561年）移治定襄②。治所在今忻州市忻府区芝郡村③。

注：
①《魏书》卷一百六上《地形志》二上第五
肆州，“治九原。天赐二年为镇，真君七年置州。”领郡三，县十一。永安郡，领县五：定襄、阳曲、平寇、蒲子、驴夷。
平寇，“真君七年并三堆、朔方、定阳属焉。永安中属。” 
(中华书局P2474，1974年）
徐文范《东晋南北朝舆地表》
魏太平真君七年，“置肆州于秀容，罢肆庐、敷城二郡为县，属秀容郡，与新兴郡并隶肆州。省云中、九原、晋昌三县并入定襄，又并三堆、朔方、定襄三县置平寇县，并属新兴郡。”
（《二十五史补编》第五册P6798，中华书局，1998年。）
光绪《山西通志》卷二十九《府州厅县考》
忻州，“太平真君七年，省云中、九原、晋昌三县并入定襄，移新兴郡治之；又置平寇县，以三堆、朔方、定阳并入。……庄帝永安二年，改新兴郡为永安郡，领定襄、平寇、蒲子、驴夷五县。”
（中华书局P2567，1990年。）
②《元和郡县志》卷十四?河东道三?忻州
秀容县：“本汉阳曲县地属太原郡，后汉末于此置九原县，属新兴郡。后魏庄帝于今县东十里置平寇县，隋开皇十八年于此置忻州。”
定襄县：“本汉阳曲县，属太原郡。……后魏末移阳曲县于太原界，仍于此城置定襄县，属新兴郡，高齐省。武成帝移平寇县于此。”
（中华书局P400～401，1983年）
《太平寰宇记》卷四十二?河东道三?忻州
秀容县，“本汉阳曲县地，属太原郡。后汉末于此置九原县属新兴郡。后魏庄帝于县东十里置平寇县。”
定襄县，“后汉末移阳曲县于并州太原县界，仍于此置定襄县，属新兴郡，高齐省。武成帝移平寇县于此。” 
按：关于平寇县始年代，《元和志》或言“后魏庄帝于今县（即忻州秀容县）东十里置平寇县。”《寰宇记》亦转抄如此。恐误。后魏庄帝时，新兴郡改置永安郡，是平寇县改属而非设置。至于平寇县徙治于定襄城，尚无明确纪年。今以北齐武成帝高湛即位的太宁元年（561年）为平寇县移治年代。
③《读史方舆纪要》卷四十《山西二》?忻州，
平寇城，《志》云：在州东十五里，后魏改置平寇县，属永安郡，盖治于此。魏收《志》：真君七年，并三堆、朔方、定襄入平寇。盖皆初置县也。隋开皇中改废。
（中华书局P1846，2005年。）
光绪《忻州志》卷二《古迹》
平寇故县在州东五里故郡乡。《隋志》后齐置平寇县，开皇十年废。
按：故郡乡现名芝郡村。    ]]>  </source-note>  <source-uri>      </source-uri></placename>