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