<?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_44580</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">Hanchang 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>96</begin>    <begin-rule>3</begin-rule>    <end>597</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>31.74310</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>105.93304</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_112770" from="96" to="200" >        <parent-name>巴郡</parent-name>        <transcribed-name>Ba Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_115028" from="201" to="434" >        <parent-name>巴西郡</parent-name>        <transcribed-name>Baxi Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_115040" from="435" to="553" >        <parent-name>北巴西郡</parent-name>        <transcribed-name>Beibaxi Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_115664" from="554" to="582" >        <parent-name>盘龙郡</parent-name>        <transcribed-name>Panlong Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_96569" from="583" to="597" >        <parent-name>隆州</parent-name>        <transcribed-name>Long 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[      汉昌县（96—597年）<br><br>东汉永元八年（96年）置，属巴郡。建安六年（201年）分巴郡置巴西郡，县属巴西郡。①故治即今四川苍溪县治。②三国蜀、晋因之。③南朝宋元嘉十二年（435年）属北巴西郡。南齐因之。④西魏废帝三年（554年）改属盘龙郡。北周因之。隋开皇三年（583年）废郡，属隆州。十八年（598年）改名苍溪县。⑤<br><br>注：<br>①《续汉书》志第23《郡国志五》：“巴郡，……汉昌，永元中置。”注云：“《巴记》：分宕渠之北而置之。”（第12册，3508页）《太平寰宇记》卷86阆州苍溪县：“东南五十七里，本汉阆中县地。后汉永元中于今县北巴岳山侧，置汉昌县。宇文周以县属阆州。四年移理曲肘州，即今县是也。十八年改汉昌为苍溪县，因县界苍溪谷为名。”（光绪金陵书局本）永元共十六年，姑作永元八年（96年）置。<br>②《清嘉庆一统志》第144册，卷391《保宁府二·古迹》：“苍溪故县，即今苍溪县治。……按《晋志》：巴西郡领苍溪。旧志：宋元嘉八年并入汉昌。有废县，在今西南。今考《宋书州郡志》，无此县。而《隋志》、《旧唐志》、《寰宇记》皆言隋改汉昌为苍溪，疑修《晋志》者，以隋县误入，后人又因此附会，然不可考矣。”<br>③《晋书》卷14《地理志上》：“巴西郡，……汉昌。”（第2册，437页）<br>④《宋书》卷37《州郡志四》：“北巴西太守，何志不注置立。《宋起居注》：文帝元嘉十二年于剑南立北巴西郡，属益州。今益州无此郡。又《永初郡国》、何、徐梁州并有北巴西而益州无，疑是益部侨立，寻省，梁州北巴西是晋末所立也。《永初郡国》领阆中、汉昌二县。何又有宋昌县，云新立。徐无宋昌，有宋寿。何、徐领县四：……阆中……南国令，即南充国，别见。”（第4册，1149页）《太平寰宇记》卷86阆州：“秦为巴郡地。后汉建安六年刘璋改巴郡为巴西郡，自安汉移理于此。蜀汉张飞曾为此郡守。至李雄之乱，巴郡荒芜，太守理无定处。宋元嘉八年复于此城立北巴西郡。宋末除北字。齐不改。”（光绪金陵书局本）《南齐书》卷14《州郡志下》：“北巴西郡领有汉昌县。（第1册，290页）<br>⑤《隋书》卷29《地理志上》：“巴西郡，梁置南梁、北巴州，西魏置隆州。……阆内，梁置北巴郡。后魏平蜀置盘龙郡。开皇初郡废。大业初置巴西郡。……苍溪，旧曰汉昌，开皇末改名焉。”（第3册，824页）据《周书》卷2《文帝纪下》：“废帝二年……八月克成都，剑南平。……三年春正月，……又改置州郡及县，……凡改州四十六，置州一，改郡一百六，改县二百三十。”（第1册，34页）改置盘龙郡当在三年（554年）。《太平寰宇记》卷86阆州苍溪县：“东南五十七里，本汉阆中县地。后汉永平中于今县北巴岳山侧，置汉昌县。宇文周以县属阆州。四年移理曲肘州，即今县是也。十八年改汉昌为苍溪县，因县界苍溪谷为名。”（光绪金陵书局本）    ]]>  </source-note>  <source-uri>      </source-uri></placename>