<?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>http://tgaz.fudan.edu.cn/tgaz/placename/hvd_44065</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">Shanglin 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>621</begin>    <begin-rule>4</begin-rule>    <end>1911</end>    <end-rule>6</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>23.44216</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>108.59114</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location> 今广西上林县    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_110646" from="621" to="633" >        <parent-name>南方州</parent-name>        <transcribed-name>Nanfang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_110935" from="634" to="741" >        <parent-name>澄州</parent-name>        <transcribed-name>Cheng Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_111140" from="742" to="754" >        <parent-name>贺水郡</parent-name>        <transcribed-name>Heshui Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_111140" from="755" to="757" >        <parent-name>贺水郡</parent-name>        <transcribed-name>Heshui Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_35328" from="758" to="971" >        <parent-name>澄州</parent-name>        <transcribed-name>Cheng Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_35388" from="972" to="972" >        <parent-name>邕州</parent-name>        <transcribed-name>Yong Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_35329" from="973" to="989" >        <parent-name>澄州</parent-name>        <transcribed-name>Cheng Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_44048" from="990" to="1368" >        <parent-name>宾州</parent-name>        <transcribed-name>Bin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_44048" from="1369" to="1643" >        <parent-name>宾州</parent-name>        <transcribed-name>Bin Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_35461" from="1644" to="1724" >        <parent-name>柳州府</parent-name>        <transcribed-name>Liuzhou Fu</transcribed-name>      </part-of>    </part-of-relationships>    <subordinate-units>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      上林县（621-1911年）<br><br>唐武德四年（621年）置，为南方州治，贞观八年（634年）改为澄州治，天宝元年（742年）改为贺水郡治，乾元元年（758年）复为澄州治（1）。治所即今广西上林县（2）。宋开宝五年（972年）澄州废，县改属邕州，六年仍以县复置澄州，端拱三年（990年）州废，县改属宾州，元因之（3）。明洪武二年（1369年）改属柳州府宾州（4）。清初改属柳州府，雍正三年（1725年）分属宾州，十二年（1734年）改属思恩府，直至清末（5）。<br><br>注：<br>（1）《元和郡县图志》卷38·岭南道5·澄州：“今州即汉郁林郡岭方县地，汉岭方县，今宾州岭方县，自汉迄隋，其地不改。隋乱陷贼，武德四年平萧铣，于此置南方州，贞观八年改为澄州。”管县四：“上林县，郭下，本汉岭方县地，武德四年分置上林县，在上林洞口，因以为名。”（中华书局，1983年，下册，950页）。<br>《旧唐书》卷41·地理4·宾州：“隋郁林郡之岭方县。贞观五年，析南方州之岭方、思干、琅邪，南尹州之安城置宾州。十二年省思干县。”澄州：“隋郁林郡之岭方县地。武德四年平萧铣，置南方州，领无虞、琅邪、思干、上林、止戈、贺水、岭方七县。贞观五年，以上林、止戈、琅邪、岭方属宾州。八年改南方州为澄州。天宝元年改为贺水郡，乾元元年复为澄州。”上林县：“州所治。汉岭方县地，武德四年析置上林县也。”无虞：“武德四年析岭方置。”贺水：“武德四年析柳州马平县置。”（中华书局，1975年，5册，1732、1733页）。按：南方州改澄州，治所均在上林县。澄州下谓贞观五年以上林改属宾州，当误，应从宾州下记载。<br>（2）《嘉庆一统志》卷465·思恩府·古迹：“废澄州，今上林县治。”（《四部丛刊续编》，商务印书馆，1934年，174册）。清上林县治即今县。<br>（3）《舆地纪胜》卷106·广南西路·宾州：开宝五年废澄州，以止戈、无虞入上林，隶邕州。六年复置澄州。端拱三年又废澄州，以上林县属宾州。（北京，中华书局，1992年，4册，3395页）。<br>《宋史》卷90·地理六·宾州上林县：“开宝五年，自邕州来属，废澄州、止戈、贺水、无虞入焉。”（中华书局，1977年，7册，2243页）。<br>《元史》卷63·地理6·宾州：“元至元十三年，置安抚司。十六年改下路总管府。”领县三：“岭方，倚郭；上林；迁江。”（中华书局，1976年，5册，1535页）。<br>（4）《明史》卷45·地理6·柳州府宾州：“元直隶广西两江道。洪武二年九月以州治岭方县省入，十月来属。”领县二：迁江，上林。（中华书局，1974年，4册，1156页）。<br>（5）《嘉庆一统志》卷465·思恩府·建置沿革·上林县：“端拱三年改属宾州。元明因之。本朝初属柳州府，雍正三年分属宾州，十二年改属思恩府。”（《四部丛刊续编》，商务印书馆，1934年，174册）。<br>牛平汉《清代政区沿革综表》广西省思恩府：至清末领有上林县。（中国地图出版社，1990年，287页）。    ]]>  </source-note>  <source-uri>      </source-uri></placename>