<?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_40773</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">Shangyu 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>785</begin>    <begin-rule>4</begin-rule>    <end>821</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>30.01728</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>120.87675</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location> 治今浙江上虞县    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_32188" from="785" to="821" >        <parent-name>越州</parent-name>        <transcribed-name>Yue Zhou</transcribed-name>      </part-of>    </part-of-relationships>    <subordinate-units>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      <html><body>上虞县(785年-821年)治所<br><br><br>唐贞元元年（785年）复置，治今上虞县，长庆二年（822年）移治今浙江上虞县东南丰惠镇。<br><br><br>唐贞元元年（785年）复置，属越州（1）。治今上虞县。长庆二年（822年）移治今浙江上虞县东南丰惠镇（2）。<br><br><br>（1）《新唐书》卷41《地理志五》：越州上虞“贞元中析会稽置。”（北京，中华书局，1975年，4册，1061页。）《元和郡县图志》卷26《江南道二》：越州上虞县“故城西枕上虞江。隋平陈废，贞元元年刺史王密复奏置。”（北京，中华书局，1983年，下册，620页。）《太平寰宇记》卷96《江南道八》越州上虞县“长庆初废，并其地入余姚，后复置，移此理。”（金陵书局，光绪八年，19册，15页。）今从《新唐志》、《元和志》。<br>（2）明万历十五年《绍兴府志》卷2《城池志·县城》：上虞城“盖今百官地也。今县则自唐长庆中置。”（《中国方志丛书》华中地方520号，成文出版社有限公司，1册，176页。）《清嘉庆一统志》卷294《绍兴府一·古迹》：上虞故城“在今上虞县西北。”又云“府志，旧治在今县西北四十里之百官市。唐长庆二年徙今治。”（商务印书馆，1934年，《四部丛刊续编》，169册，25页。）按：明、清后未见有迁移记载，1954年县治（今丰惠镇）迁至今百官镇。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>