<?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_40097</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">Lin'an 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>978</begin>    <begin-rule>4</begin-rule>    <end>1261</end>    <end-rule>3</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>30.31883</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>119.71658</degrees-longitude>    <geo-source>FROM_FD</geo-source>    <present-location> 今浙江临安市北高乐    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_32336" from="978" to="1128" >        <parent-name>杭州</parent-name>        <transcribed-name>Hang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_32344" from="1129" to="1261" >        <parent-name>临安府</parent-name>        <transcribed-name>Lin'an Fu</transcribed-name>      </part-of>    </part-of-relationships>    <subordinate-units>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      <html><body>临安县（978—1261年）治所<br><br>宋太平兴国三年（978年）改安国县为临安县。①治所今浙江临安市北高乐。②属临安府。③南宋景定三年（1262年）移治今临安市治。④<br><br><br>①《舆地广记》卷22《两浙路上》：临安县“吴越王钱鏐，其县人也。鏐既贵，以素所居营为安国衣锦军。鏐归宴故老，山林皆覆以锦。梁改临安县曰安国县，以尊之。皇朝太平兴国三年，复曰临安。”（商务印书馆，丛书集成本，第3册，232页）《宋史》卷88《地理志四》临安府：“临安县，钱鏐奏改衣锦军。太平兴国四年，改顺化军，县复旧名。”（第7册，2174页）《宋志》所述不详，从《舆地广记》。<br>②《清嘉庆一统志》第101册，卷284《杭州府二·古迹》：“临水县在临安县北。……县志：旧治在今县北四里。宋景定中移西墅。元末毁。明初移治东市太庙山右，即吴越衣锦军治。”按《清嘉庆一统志》第100册，卷283《杭州府一·城池》：临安县城，周五里，门四有濠。唐末号衣锦城。后圯。明嘉靖中设土垣。”按上文注谓景定中移治西墅，景定共五年，景定中姑作景定三年（1262年）。西墅即西市，当即在临安城中，与明洪武初所移之东市，同在城中。<br>③《宋史》卷88《地理志四》：临安府领临安县。（第7册，2174页）<br>④见注②。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>