<?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_71105</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">Xi 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>625</begin>    <begin-rule>4</begin-rule>    <end>1282</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>33.15100</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>106.62171</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_110851" from="625" to="724" >        <parent-name>梁州</parent-name>        <transcribed-name>Liang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_71104" from="725" to="964" >        <parent-name>西县</parent-name>        <transcribed-name>Xi Xian</transcribed-name>      </part-of>      <part-of parent-id="hvd_71094" from="996" to="996" >        <parent-name>大安军</parent-name>        <transcribed-name>Daan Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_116021" from="997" to="1276" >        <parent-name>兴元府</parent-name>        <transcribed-name>Xingyuanfu</transcribed-name>      </part-of>      <part-of parent-id="hvd_71104" from="1277" to="1278" >        <parent-name>西县</parent-name>        <transcribed-name>Xi Xian</transcribed-name>      </part-of>      <part-of parent-id="hvd_96654" from="1279" to="1282" >        <parent-name>广元路</parent-name>        <transcribed-name>Guangyuan Lu</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[      西县（625—1282）
武德八年（625），褒州废，县属梁州，移治今勉县西老城。（1）乾德三年（965年），直隶京师。至道二年（996），割隶大安军。三年（997），还属兴元府。（2）至元十四年（1277），隶沔州，属广元路。至元二十年（1283），并入略阳。（3）

注：
（1）、《旧唐书》卷39志19地理二：“西，隋旧。武德二年，置褒州，割金牛来属，领西、金牛二县。八年，废褒州，以县属梁州。”（中华书局，1975年，第1529页）。
（2）、《宋史》卷85志38地理一：“乾德三年，平蜀，得州、府四十六，益、彭、眉、嘉、邛、蜀、绵、汉、资、简、梓、遂、黎、雅、陵、戎、泸、维、茂、昌、荣、果、阆、渠、合、龙、普、利、兴、文、巴、剑、蓬、壁、夔、忠、万、集、开、渝、涪、黔、施、达、洋，兴元府。”（中华书局，1977年，第2093页）。
《宋史》卷89志42地理五：兴元府“县四：南郑，城固，褒城，西，次畿。至道二年，割隶大安军。三年，还隶。”（中华书局，1977年，第2221页）。
按：《嘉庆重修一统志》中载：西县“宋乾德中，以縣直隸京師，後屬興元府。至道二年，改屬大安軍。三年，還屬興元府。”根据上面材料，乾德三年西县隶属京师后，还曾归属兴元府，然后改属大安军。但是，对于至道二年前西县属兴元府之事暂无史料记载，根据三泉县的行政隶属变化的情况，暂时认定西县隶属京师后直接改属大安军。（“大安军，中，本三泉县。旧属兴元府。乾德三年，平蜀，以县直属京。至道二年，建为大安军。三年，军废，县仍属旧京。”《宋史》卷89志42地理五，中华书局，1977年，第2224页）。
（3）、《元史》卷60志12地理三：兴元路“元初割出西县属沔州，以洋州西乡县来属。”（中华书局，1976年，第1427页）。
   《元史》卷60志12地理三：广元路“沔州，下。唐初为兴州，又为顺政郡，又改兴州。宋改沔州。元至元十四年，隶广元路。二十年，废褒州，止设铎水县，迁沔州而治焉。领三县：铎水，下，倚郭。大安，下。本大安州，至元二十年，降为县以来属。略阳。下。至元二十年，并长举及西县入焉。”（中华书局，1976年，第1438页）。    ]]>  </source-note>  <source-uri>      </source-uri></placename>