<?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_95036</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">Huairen 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>936</begin>    <begin-rule>4</begin-rule>    <end>1213</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>39.82014</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>113.10321</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_115139" from="936" to="1213" >        <parent-name>大同府</parent-name>        <transcribed-name>Datongfu</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[      怀仁县（936～1213年）治所。编写者：王尚义、王杰瑜

辽天显十一年（936年），析云中县地置怀仁县，属大同府①。治所即今怀仁县城。金贞祐二年（1214年），升为云州②。

注：
①《辽史》卷四十一《志》第十一?地理志五?西京道 “西京大同府，……晋高祖代唐。以契丹有援立功。割山前、代北地为赂，大同来属，因建西京……统州二、县七：怀仁县。“本汉沙南县。元魏葛荣乱，县废。隋开皇二年移云内于此。大业二年置大利县，属云州，改属定襄郡。隋末陷突厥。李克用败赫连铎，驻兵于此。辽改怀仁”。（中华书局P513，1974年。）
光绪《山西通志》卷二十八《府州厅县考六》?大同府 怀仁县，“辽始析云中置怀仁县，隶大同府。” （中华书局P2480，1990年。）
正德《大同府志》卷一《建置沿革》怀仁县，“辽始析云中县地，置怀仁县。因阿保机与晋王李克用面会东城，取怀想仁人之义，故名。金升为云州。”（大同市方志办整理重印P3，1986年。）
	按：怀仁县始置于辽，年代失载。今据《辽志》、《新五代史晋纪》：天福元年（936年），即辽天显十一年，石敬塘割幽云十六州赂契丹，“大同来属，因建西京”，故兹确定怀仁县亦当为其年所置。
②《金史》卷二十四《志》第五?地理上?西京路 大同府，中，西京留守司。“晋云州大同军节度，辽重熙十三年，升为西京，府名大同，金因之”。县七、镇三： 怀仁，“辽析云中置，贞祐二年五月升为云州”。（中华书局P565，1975年。）
乾隆《大同府志》卷一《沿革》怀仁县，“辽置怀仁县（此怀仁县得名之始），隶西京大同府。《辽史》：怀仁县本隋大利县，辽改。《金史?地理志》怀仁县，辽析云中置。金升为云州。《金史?地理志》贞佑二年，升怀仁县为云州，” （大同市方志办整理重印P28，2007年。）    ]]>  </source-note>  <source-uri>      </source-uri></placename>