<?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_71033</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">Xixiang 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>607</begin>    <begin-rule>4</begin-rule>    <end>1376</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>32.99027</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>107.76037</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_110237" from="607" to="617" >        <parent-name>汉川郡</parent-name>        <transcribed-name>Hanchuan Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_111048" from="618" to="741" >        <parent-name>洋州</parent-name>        <transcribed-name>Yang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_71018" from="758" to="1036" >        <parent-name>洋州</parent-name>        <transcribed-name>Yang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_71018" from="758" to="965" >        <parent-name>洋州</parent-name>        <transcribed-name>Yang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_71018" from="766" to="1264" >        <parent-name>洋州</parent-name>        <transcribed-name>Yang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_71018" from="1037" to="1264" >        <parent-name>洋州</parent-name>        <transcribed-name>Yang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_116022" from="1265" to="1376" >        <parent-name>兴元路</parent-name>        <transcribed-name>Xingyuanlu</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[      西乡县（607—1376）
大业三年（607），洋州废，改为西乡县。（1）武德元年（618），属洋州。天宝元年（742），属汉川郡。乾元元年（758），属洋州。（2）宋属洋州。（3）至元二年（1265），西乡县直属兴元路。（4）

注：
（1）、《隋书》卷29志24地理上：汉川郡“西乡旧曰丰宁，置洋州，及洋川郡。开皇初废郡，大业初废州，改县曰西乡。又旧有怀昌郡，后周废为怀昌县，至是入焉。”（中华书局，1973年，第817页）。
    《太平寰宇記》卷138山南西道六洋州：“隋開皇三年，又罷三郡，并省候亭縣入洋州，領豐寧、黄金二縣屬漢川郡，仍改豐寜為西鄉移于廢州廨理，又于州城置洋州鎮。”（中华书局，
按：以上两书对丰宁改为西乡县的时间记载有异，姑以《隋书》记载为准。
（2）、《旧唐书》卷39志19地理志二，山南道“洋州下，隋汉川郡之西乡县。武德元年，割梁州三县置洋州。四年，又置洋源县。天宝元年，改为洋川郡。乾元元年，复为洋州。旧领县四，户二千二百二十六，口一万八千六十。天宝领县五，户二万三千八百四十九，口八万八千三百二十七。西乡，本汉成固县地，蜀立西乡县。后魏于此置洋州，以水为名。 黄金，汉安阳县地，属汉中郡。后魏置黄金县，水名也。隋县治巴陵镇，贞观三年，移于今治。兴道，隋兴势县。贞观二十三年，改为兴道。洋源 武德七年，分西乡县置。真符 开元十八年，分兴道置华阳县。天宝七年，改属京兆，仍改为真符。十一年，还属洋川郡。”（中华书局，1975年，第1533页）。
（3）、《宋史》卷89志42地理志五：利州路“洋州，望，洋川郡，武康军节度。旧武定军，景祐四年改。建炎以后，尝置蓬、巴、洋州安抚使，寻罢。崇宁户四万五千四百九十，口九万八千五百六十七。贡隔织。县三：兴道，望。西乡，上。真符。中。”（中华书局，1974年，第2222页）。
（4）、《元史》卷60志12地理三：“兴元路，下。唐为梁州，又改汉中郡，又为兴元府。宋仍旧名。元立兴元路总管府，久之，以凤、金、洋三州隶焉。宋时领南郑、西县、褒城、廉水、城固五县，后废廉水入南郑。元初割出西县属沔州，以洋州西乡县来属。户二千一百四十九，口一万九千三百七十八。至元二十七年数。领县四、州三。县四：南郑，下。成固，下。褒城，下。西乡，下。州三：凤州，下。唐初为凤州，后升节度府。宋为团练州。至元五年，以在郭梁泉县并入州，隶兴元路。洋州，下。唐改洋(州)[川]郡，又复为洋州，后更革不常。宋复为洋州。元至元二年，省兴道、真符二县入州。金州，下。唐改西城郡为金州。宋升为金房开达四州路。元为散州。”（中华书局，1976年，第1427页）。
    按：西乡县直属兴元路的时间无考，现据兴道、真符二县并入洋州的时间而定。    ]]>  </source-note>  <source-uri>      </source-uri></placename>