<?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_95310</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">Yushe 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>617</begin>    <begin-rule>4</begin-rule>    <end>1073</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>37.07094</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>112.96366</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_94097" from="617" to="617" >        <parent-name>韩州</parent-name>        <transcribed-name>Han Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94097" from="618" to="619" >        <parent-name>韩州</parent-name>        <transcribed-name>Han Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94191" from="620" to="622" >        <parent-name>榆州</parent-name>        <transcribed-name>Yu Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94190" from="623" to="624" >        <parent-name>辽州</parent-name>        <transcribed-name>Liao Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94190" from="625" to="711" >        <parent-name>辽州</parent-name>        <transcribed-name>Liao Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94194" from="712" to="741" >        <parent-name>仪州</parent-name>        <transcribed-name>Yi Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94195" from="742" to="757" >        <parent-name>乐平郡</parent-name>        <transcribed-name>Leping Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_94196" from="758" to="832" >        <parent-name>仪州</parent-name>        <transcribed-name>Yi Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94197" from="833" to="882" >        <parent-name>辽州</parent-name>        <transcribed-name>Liao Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_94197" from="883" to="1073" >        <parent-name>辽州</parent-name>        <transcribed-name>Liao 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[      榆社县（617～1073年）治所。编写者：王尚义、王杰瑜

隋义宁元年（617年），复析乡县北部置榆社县，属韩州。治所仍在今榆社县城。唐武德三年（620年），为榆州治所。六年（623年），废榆州，县属辽州。先天元年（712年）属仪州，天宝元年（742年）属乐平郡。乾元元年（758年），仍属仪州，中和三年（833年）属辽州①。宋熙宁七年（1074年），省入武乡县为镇②。 

注：
①《旧唐书》卷三十九《志》第十九?地理二?河东道三 辽州  隋太原郡之辽山县。武德三年，分并州之乐平、和顺、平城、石艾四县置辽州，治乐平。……六年，自乐平移于辽山，仍以石艾、乐平二县属受州，省义兴县，以废榆州之榆社、平城二县来属。八年，改辽州为箕州。先天元年，又改为仪州。天宝元年，改为乐平郡。乾元元年，复为仪州。中和三年八月，复为辽州。旧领县四。 榆社，晋武乡县。义宁元年，分置榆社县。武德三年，于此置榆州，割并州平城来属。仍置偃武县。六年，废榆州及偃武县，以平城、榆社属辽州。（中华书局P1480，1975年。）
《新唐书》卷三十九《志》第二十九?地理三?河东道 辽州乐平郡，下。武德三年析并州之乐平、辽山、平城、石艾置，六年徙治辽山，八年曰箕州。先天元年避玄宗名曰仪州。中和三年复曰辽州。县四。榆社，中。本隶太原郡，义宁元年析上党之乡置。武德元年隶韩州。三年以县及并州之平城置榆州，又析置偃武县。六年州废，省偃武，以榆社、平城来属。（中华书局P1001，1975年。）
《元和郡县图志》卷十三?河东道二?仪州 榆社县，“本汉涅氏县地，晋于今县西北三十五里置武乡县，属上党郡。石赵时，改属武乡郡。隋开皇十六年，于此置榆社县，属韩州。因县西北榆社故城为名。大业二年省。义宁二年又置。武德三年，于县置榆州，县属焉。六年废榆州，以县属辽州。后属仪州。县城，故武乡城也，石勒时筑。”（中华书局P383，1983年。）
光绪《山西通志》卷二十五《府州厅县考三》?辽州 榆社县，“义宁元年，复析乡县置榆社县，属韩州。唐武德三年，于榆社置榆州，割并州之平城来属，又置偃武城。六年，废榆州及偃武县，以平城、榆社属辽州。”（中华书局P2274，1990年。）
②《宋史》卷八十六《志》第三十九?地理二?河东路 辽州，下，乐平郡。熙宁七年州废，省平城、和顺二县为镇，入辽山县，隶平定军；省榆社县为镇，入威胜军武乡县。威胜军，同下州。武乡，上。熙宁七年废辽州，以榆杜县为镇入焉。元丰八年，复置辽州，以榆社往隶。（中华书局P2133，1977年。）
《太平寰宇记》卷四十四?河东道五?辽州 榆社县，“本汉涅县地。晋于今县西北三十五里置武乡，属上党。十六国前赵石勒即此邑人，后魏改属武乡，移于今理南。韩州武乡县，隋开皇十六年于此置榆社县，属韩州，今潞州之襄垣县理是也。因今县西北榆社故城为名，大业二年省。义宁元年又置，唐武德三年于县置榆州，县仍属焉。六年废榆州以县属辽州。……古榆社城在县北三十五里。魏地形志云武乡县北有榆社县城。古榆社城在县北三十五里，……古箕城在县东南三十里。县城即故武乡也，石勒时筑。”（金陵书局光绪八年版P12）    ]]>  </source-note>  <source-uri>      </source-uri></placename>