<?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_44559</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">Langnei 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>583</begin>    <begin-rule>3</begin-rule>    <end>617</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.58316</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>105.96703</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_96569" from="583" to="606" >        <parent-name>隆州</parent-name>        <transcribed-name>Long Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_96570" from="607" to="617" >        <parent-name>巴西郡</parent-name>        <transcribed-name>Baxi Jun</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[      阆内县（583—617年）<br><br>隋开皇三年（583年）改阆中县为阆内县，为隆州治。大业三年（607年）为巴西郡治。①故治即今四川阆中县治。②唐武德元年（618年）复名阆中县。③<br><br>注：<br>①《隋书》卷29《地理志上》：“巴西郡，梁置南梁、北巴州，西魏置隆州。……阆内，梁置北巴（西）郡，后魏平蜀，置盘龙郡。开皇初郡废。大业初置巴西郡。”（第2册，824页）《舆地纪胜》卷185《利州路》：“阆中县……开皇中郡废，又改为阆内，避文帝父讳也，唐复为阆中。”（中华书局影印惧盈斋本，第5册，4755页）今作开皇三年（583年）改名阆内县。大业三年（607年）改隆州为巴西郡。<br>②《清嘉庆一统志》第144册，卷391《保宁府二·古迹》：“阆中故城，在今阆中县西。《华阳国志》：巴子后治阆中。秦置县。后汉建安六年刘璋徙庞义为巴西太守，是为三巴之一。《通典》：阆中城名高城，前临阆水，却据连冈。《旧唐书地理志》：阆水迂曲，迳郡三面，故曰阆中。《寰宇记》：阆据蜀汉之中，当东道要冲。今郡城即古阆中城。宋立北巴西郡，梁天监中，又于此置南梁州及北巴郡，西魏废帝二年平蜀，改为隆州，取其地势连冈高隆为名。寻又立盘龙郡，以郡中有盘龙冈为名。唐改阆州，以阆水为名。《舆地纪胜》：《图经》云：贞观十一年徙于州东。咸亨二年又徙盘龙山侧。载初元年又徙张仪故城，即今治也。《宋史地理志》：阆州，淳祐三年移治大获山。《城邑考》：府需旧为土城，在嘉陵江北岸，与锦屏山相峙，相传汉建安中，刘璋所筑。元末明玉珍始移而西。按：《水经注》：阆水经阆中县东，汉城本在汉水之东，盖自宋末移治之后，元虽移还故县，不复故治，故改治于江北，实非汉城故址。《城邑考》谓即刘璋所筑，非也。”1993年《阆中县志》第一篇政区第二节冶城：“阆中城，战国时为巴子国别都。汉城城址在今城北郊王家嘴营房一带，遗物有九块石（毁于民国27年修飞机场），为汉城北门残迹。距今王家嘴河岸150米处（汉城西门外），有巨大石条砌成的码头及河堤残迹。又在兰家坝、王家嘴一带发现汉井、汉墓、汉砖、汉陶、五铁钱等。清《嘉庆四川通志》载：汉城在建安中刘境修缮过，三国蜀张飞又增修。据明《嘉靖保宁府志》、清咸丰《阆中县志》载，唐代治城曾三徙：太宗贞观十一年（637）徙州东；高宗咸亨二年（672）徙蟠龙山侧；武后载初元年（689年）徙县治于张仪城。迁徙原因，当是江水啮城。由于屋舍街衢迭遭摧毁，城市逐渐南移，玄宗以后基本稳定。杜甫《阆山歌》、《阆水歌》及元稹《阆州开元寺题乐天诗》所咏，唐城位置与今阆中城大体相符。据宋代李献卿《南楼》、陆游《锦屏山谒少陵祠堂》、《南池》等诗所咏，宋阆州城位置与今阆中城相符合。南宋理宗淳祐三年（1243）为抵抗元兵，变色镜州、军治于苍溪县之大获山（县治未移）。元代，县治曾徙于白沙坝，元末明玉珍复迁回阆城。明嘉靖《保宁府志》载：‘元代以前，尚是土城。明洪武四年（1371）千户滕贵，即旧城拓之，内外俱甃以石，上覆以屋，为门四，东曰富春，南曰锦屏，西曰澄清，北曰威德。四门皆有月城。成化年间指挥田仪于四门之上，各筑层楼。弘治年间，知府张翼重修。’……清嘉庆《四川通志》载：清乾隆三十四年（1769）知府宋思仁重修。乾隆六十年知府胡延璠补修。嘉庆二十五年（1820）川北道黎学锦于西门修石堤以御水啮。民国时期，东、南、北三门之月城俱在。解放初拆除月城，其后四门及城墙先后拆除。”（56页）是从秦汉以来阆中县城虽稍有徙移，均不离今治之周围，故作古今同处理。<br>③《旧唐书》卷宗41《地理志四》：“阆州，隋巴西郡。武德元年改为隆州。领阆中……十县。……先天元年改为阆州。天宝元年改为阆中郡。乾元元年复为阆州。……阆中，汉县，属巴郡。梁置北巴州。西魏置隆州及盘龙郡。炀帝改为巴西郡。武德为隆州。皆治阆中。阆水迂曲经郡三面，故曰阆中，隋为阆内也。”（第4册，1672页）《新唐书》卷40《地理志四》：“阆州阆中郡，上。本隆州巴西郡，先天元年避玄宗讳改州名。……阆中，本阆内，武德元年更名。是年析置思恭县，七年省。”（第5册，1038页）    ]]>  </source-note>  <source-uri>      </source-uri></placename>