<?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_71005</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">Chenggu 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>629</begin>    <begin-rule>4</begin-rule>    <end>0</end>    <end-rule>0</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>33.15713</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>107.32794</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_115312" from="629" to="959" >        <parent-name>汉中郡</parent-name>        <transcribed-name>Hanzhong Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_116021" from="960" to="1264" >        <parent-name>兴元府</parent-name>        <transcribed-name>Xingyuanfu</transcribed-name>      </part-of>      <part-of parent-id="hvd_116022" from="1265" to="1367" >        <parent-name>兴元路</parent-name>        <transcribed-name>Xingyuanlu</transcribed-name>      </part-of>      <part-of parent-id="hvd_115311" from="1368" to="1643" >        <parent-name>汉中府</parent-name>        <transcribed-name>Hanzhongfu</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[      城固县（629—  （起止年份待校正）
贞观二年（628），复改唐固为城固县。（1）宋属兴元府。（2）元属兴元路。（3）明属汉中府。（4）清因之。（5）

注：
（1）、《新唐书》卷40志30：“城固，次畿。武德二年更名唐固，三年析置白云县，九年省。贞观二年复故名。”（中华书局，1975年，第
（2）、《宋史》卷89志42地理五：利州路兴元府“县四：南郑，城固，褒城，西。”（中华书局，1977年，第2221页）。
（3）、《元史》卷60志12地理三：“兴元路，下。唐为梁州，又改汉中郡，又为兴元府。宋仍旧名。元立兴元路总管府，久之，以凤、金、洋三州隶焉。宋时领南郑、西县、褒城、廉水、城固五县，后废廉水入南郑。元初割出西县属沔州，以洋州西乡县来属。户二千一百四十九，口一万九千三百七十八。至元二十七年数。领县四、州三。县四：南郑，城固，褒城，西乡。州三：凤州，洋州，金州。”（中华书局，1976年，第1426—1427页）。
（4）、《明史》卷42志18地理三：“汉中府元兴元路，属陕西行省。洪武三年五月为府。六月改名汉中府。领州一，县八。东北距布政司九百六十里。南郑，褒城， 城固，洋，西乡，凤，沔，宁羌州，略阳。”（中华书局，1974年，第999—1000页）。
“兴安州元金州，属兴元路。万历十一年八月更名。二十三年直隶布政司。旧治汉水北，后迁水南。万历十一年又迁故城南三里许。北有汉水。又西有衡河，亦曰恒河，下流入汉江。东北有乾佑关巡检司，废。领县六。西北距布政司六百四十里。平利，石泉，洵阳，汉阴，白河，紫阳。”（中华书局，1974年，第1010—1011页）。
（5）、《清史稿》卷63志38地理十：“汉中府：冲，繁，疲，难。陕安道治所。总兵驻。明，领州一，县八。乾隆三十八年，置留坝厅。嘉庆七年，置定远厅。道光五年，置佛坪厅。东北距省治一千七百里。广八百一十里，袤六百五十里。北极高三十三度。京师偏西九度十四分。领厅三，州一，县八。南郑，褒城，城固，洋，西乡，凤，宁羌州，沔，略阳，佛坪厅，定远厅，留壩厅。”（中华书局，1977年，第2100—2101页）。    ]]>  </source-note>  <source-uri>      </source-uri></placename>