<?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_40293</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">Shanghang 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>1027</begin>    <begin-rule>4</begin-rule>    <end>1167</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>25.21328</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>116.49141</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_32041" from="1027" to="1167" >        <parent-name>汀州</parent-name>        <transcribed-name>Ting 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[      <html><body>上杭县（1027-1167年）治所<br>宋天圣五年（1027年）迁置，属汀州1。治所在今福建上杭县北旧县2。乾道四年（1168年），复迁治于郭坊来苏里，即今县治3。<br>————————————————<br>1，《宋史》卷89·地理五·福建路·汀州：“淳化五年，以上杭、武平二场并为县。”领县五：上杭县，“有钟寮金场。天圣二年，徙治锺寮场东。乾道四年，徙治郭下。”（北京，中华书局，1977年，7册，2209页）。参见注2。《嘉庆一统志》卷434·汀州府二·古迹·上杭故县：据旧《志》，作“天圣五年，又迁于钟寮场”，《读史方舆纪要》记载同。《舆地纪胜》作天圣间；《宋史》作天圣二年。今从《一统志》、《纪要》作天圣五年。<br>2，《嘉庆一统志》卷434·汀州府二·古迹·上杭故县：“旧《志》，唐析龙岩县胡雷下堡，置上杭场，在今永定县东四十余里金丰乡。南唐保大十三年，徙场于秇梓堡，在今永定县东北六十里。宋淳化五年，升场为县。至道二年，始迁治鳖沙，在今上杭县东北三十里，又名白沙里，而故城遂废。咸平二年，又迁治语口，去鳖沙二百步，后为在城里。天圣五年，又迁于钟寮场，在今上杭县西北（《读史方舆纪要》谓，“西北二十里”），其地坑冶大兴，商贾辐凑。乾道三年，又迁于郭坊来苏里，即今治也。”（《四部丛刊续编》，商务印书馆，1934年，160册）。牛平汉《清代政区沿革综表》福建省·汀州府·上杭县·治所今址：“福建省上杭县。”（北京，中国地图出版社，1990年171页）。今上杭县北有地名中寮，其东有地名旧县。（《福建省地图册》上杭县幅，北京，中国地图出版社，1982年71-72页）。据《宋史》“徙治锺寮场东。”则旧县当为天圣五年迁治之治所。<br>3，《宋史》卷89·地理五·福建路·汀州：“淳化五年，以上杭、武平二场并为县。”领县五：上杭县，“有钟寮金场。天圣二年，徙治锺寮场东。乾道四年，徙治郭下。”（北京，中华书局，1977年，7册，2209页）。《舆地纪胜》卷132·福建路·汀州·县沿革·上杭县：“国朝《会要》云，本治锺寮场，乾道四年，徙治坊郭。”（北京，中华书局，1992年，4册，3785页）。按：郭下、坊郭、郭坊，当为写法不同，即今福建上杭县。<br>《读史方舆纪要》、《嘉庆一统志》作乾道三年。不从。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>