<?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_40085</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">Yuhang 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>173</begin>    <begin-rule>4</begin-rule>    <end>1911</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.27177</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>119.94059</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location> 今浙江余杭县余杭镇    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_32054" from="173" to="265" >        <parent-name>吴郡</parent-name>        <transcribed-name>Wu Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_32347" from="266" to="404" >        <parent-name>吴兴郡</parent-name>        <transcribed-name>Wuxing Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_32358" from="405" to="588" >        <parent-name>吴兴郡</parent-name>        <transcribed-name>Wuxing Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_32334" from="589" to="606" >        <parent-name>杭州</parent-name>        <transcribed-name>Hang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_32352" from="607" to="620" >        <parent-name>余杭郡</parent-name>        <transcribed-name>Yuhang Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_32335" from="621" to="741" >        <parent-name>杭州</parent-name>        <transcribed-name>Hang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_32353" from="742" to="757" >        <parent-name>余杭郡</parent-name>        <transcribed-name>Yuhang Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_32336" from="758" to="1128" >        <parent-name>杭州</parent-name>        <transcribed-name>Hang Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_32344" from="1129" to="1277" >        <parent-name>临安府</parent-name>        <transcribed-name>Lin'an Fu</transcribed-name>      </part-of>      <part-of parent-id="hvd_32338" from="1278" to="1365" >        <parent-name>杭州路</parent-name>        <transcribed-name>Hangzhou Lu</transcribed-name>      </part-of>      <part-of parent-id="hvd_32337" from="1366" to="1911" >        <parent-name>杭州府</parent-name>        <transcribed-name>Hangzhou Fu</transcribed-name>      </part-of>    </part-of-relationships>    <subordinate-units>      <subordinate-unit sys-id="hvd_23484" from="1820" to="1820" >        <name>双溪镇</name>        <transcribed-name>Shuangxizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138741" from="1911" to="1911" >        <name>双溪镇</name>        <transcribed-name>Shuangxizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23485" from="1820" to="1820" >        <name>古城</name>        <transcribed-name>Gucheng</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138742" from="1911" to="1911" >        <name>古城</name>        <transcribed-name>Gucheng</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23481" from="1820" to="1820" >        <name>瓶窑镇</name>        <transcribed-name>Pingyaozhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138738" from="1911" to="1911" >        <name>瓶窑镇</name>        <transcribed-name>Pingyaozhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23486" from="1820" to="1820" >        <name>石扶梯</name>        <transcribed-name>Shifuti</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138743" from="1911" to="1911" >        <name>石扶梯</name>        <transcribed-name>Shifuti</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23479" from="1820" to="1820" >        <name>石濑镇</name>        <transcribed-name>Shilaizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138736" from="1911" to="1911" >        <name>石濑镇</name>        <transcribed-name>Shilaizhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23487" from="1820" to="1820" >        <name>金村</name>        <transcribed-name>Jincun</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138744" from="1911" to="1911" >        <name>金村</name>        <transcribed-name>Jincun</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23483" from="1820" to="1820" >        <name>长乐市</name>        <transcribed-name>Changleshi</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138740" from="1911" to="1911" >        <name>长乐市</name>        <transcribed-name>Changleshi</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23478" from="1820" to="1820" >        <name>闲林镇</name>        <transcribed-name>Xianlinzhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138735" from="1911" to="1911" >        <name>闲林镇</name>        <transcribed-name>Xianlinzhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23480" from="1820" to="1820" >        <name>马头关</name>        <transcribed-name>Matouguan</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138737" from="1911" to="1911" >        <name>马头关</name>        <transcribed-name>Matouguan</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_23482" from="1820" to="1820" >        <name>黄湖镇</name>        <transcribed-name>Huanghuzhen</transcribed-name>      </subordinate-unit>      <subordinate-unit sys-id="hvd_138739" from="1911" to="1911" >        <name>黄湖镇</name>        <transcribed-name>Huanghuzhen</transcribed-name>      </subordinate-unit>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      <html><body>余杭县（173—1912年）治所<br><br><br>东汉熹平二年（173年）移余杭县治于苕溪北，即今浙江余杭市余杭镇苕溪北岸部分。①三国吴宝鼎元年（266年）分吴、丹阳为吴兴郡，县属吴兴郡。②西晋仍属吴兴郡。宋、齐、梁、陈因之。③隋开皇九年（589年）平陈，置杭州，治余杭县。十年（590年）州治移钱塘县，余杭县属之。④隋大业三年（607年）改杭州为余杭郡。⑤唐武德四年（621）平李子通，置杭州，县属之。天宝元年（742年）改杭州为余杭郡，县属之。乾元元年（758年）复为杭州。⑥五代吴越有杭州。⑦北宋因之。南宋建炎三年（1129年）升杭州为临安府，县属之。⑧元至元十三年（1276年）地入元，十五年（1278年）改为杭州路，县属之。⑨明元至正二十六年（1366年）朱元璋改杭州路为杭州府。县属之。清因之。⑩1912年裁府留县，直属浙江省。⑾<br><br><br>①《清嘉庆一统志》第101册，卷284《杭州府二·古迹》：“余杭故城，今余杭县治。……县志：旧城在苕溪南。汉陈浑徙溪北。唐末吴越王复徙溪南，号青平军城。宋雍熙中，军废。再徙溪北。自后因之。”《咸淳临安志》卷18：“《祥符志》云：旧县城在溪南周回六里二百步。东汉熹平二年县令陈浑徙於溪北。后复治於溪南。南唐时号清平军城。雍熙初再徙溪北，周五百四十三丈，高一丈三尺，下广一丈五尺，濠阔二丈五尺。钱武肃王又修广之。旧城今间有存者，城门四，曰荣春、湖光、迎波、永丰。”（宋元方志丛刊本，第4册，3536页。中华书局影印）《浙江古今地名词典》余杭镇：“自秦置余杭县始，至1961年为县治。”（337页，浙江教育出版社，1991年）<br>②《三国志》卷48《三嗣主传》：裴注引《晧诏曰》：“今吴郡阳羡、永安、余杭、临水及丹阳故鄣、安吉、原乡、於潜诸县，地势水流之便，悉注乌程，既宜立郡以镇山越，且以藩卫明陵，不亦可乎！其亟分此九县为吴兴郡，治乌程。”（第5册，1166页）清吴增仅撰、杨守敬补正《三国郡县表附考证》吴兴郡领余杭县（《二十五史补编》本，第3册，2939页）清洪亮吉撰、谢钟英补注《补三国疆域志补注》吴兴郡领余杭县。（《二十五史补编》本，第3册，3126页）<br>③《晋书》卷15《地理志下》吴兴郡领有余杭县。（第2册，461页）《宋书》卷35《州郡志一》：吴兴太守领余杭县令。（第4册，1033页）《南齐书》卷14《州郡志上》：吴兴郡有余杭县。（第1册，246页）<br>④《太平寰宇记》卷93《江南道五》杭州：“隋平陈，废（钱塘）郡为钱塘县。……割吴郡之盐官、吴兴之余杭，合四县置杭州在余杭县。盖因其县立名。十年移居钱塘城。”（光绪金陵书局本）<br>⑤《隋书》卷31《地理志下》：余杭郡领余杭县。（第3册，878页）<br>⑥《旧唐书》卷40《地理志三》：“杭州上，隋余杭郡。武德四年平李子通置杭州，领钱塘、富阳、余杭三县。六年，复没于辅公祏。七年平贼，复置杭州。……天宝元年，改为余杭郡。乾元元年复为杭州。”“余杭，汉县，属会稽郡。隋置杭州，后徙治钱塘。”（第5册，1588页）<br>⑦《新五代史》卷60《职方考》：吴越有杭州。（第3册，727页）<br>⑧《宋史》卷88《地理志四》两浙路临安府：“本杭州……建炎元年带本路安抚使，领杭、湖、严、秀四州。三年，升为府。”（第7册，2174页）<br>⑨《元史》卷62《地理志五》杭州路：“元至元十三年，平江南，立两浙都督府，又改为安抚司。十五年，改为杭州路总管府。”（第5册，1492页）<br>⑩《明史》卷44《地理志五》：“杭州府，元杭州路，属江浙行省。太祖丙午十一月为府。”（第4册，1101页）太祖丙午为至正二十六年，公元1366年。杭州府领有余杭县。（第4册，1102页）《清嘉庆一统志》第100册，卷283《杭州府一·建置沿革》：余杭县“明属杭州府。本朝因之。”《清史稿》卷65《地理志十二》：杭州府领余杭县。（第8册，2129页）<br>⑾内政部编《中华民国行政区划简表》，16页，商务印书馆，1947年。</body></html>    ]]>  </source-note>  <source-uri>      </source-uri></placename>