<?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_45532</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">Wanwen 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>-111</begin>    <begin-rule>4</begin-rule>    <end>346</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>23.80985</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>104.24997</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_99398" from="-111" to="13" >        <parent-name>牂柯郡</parent-name>        <transcribed-name>Zangke Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_99399" from="14" to="22" >        <parent-name>同亭郡</parent-name>        <transcribed-name>Tongting Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_99400" from="23" to="224" >        <parent-name>牂柯郡</parent-name>        <transcribed-name>Zangke Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_80672" from="225" to="310" >        <parent-name>兴古郡</parent-name>        <transcribed-name>Xinggu Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_80676" from="225" to="264" >        <parent-name>兴古郡</parent-name>        <transcribed-name>Xinggu Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_80672" from="265" to="346" >        <parent-name>兴古郡</parent-name>        <transcribed-name>Xinggu Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_80672" from="311" to="346" >        <parent-name>兴古郡</parent-name>        <transcribed-name>Xinggu Jun</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[      宛温县（前111——346年）治所（陈庆江编写）<br><br>西汉元鼎六年（前111年）置，隶牂柯郡（1）。治所在今云南砚山县维摩彝族乡人民政府驻地维摩（2）。王莽天凤元年（14年），改牂柯郡为同亭郡，县属之。更始元年（23年），同亭郡复名牂柯郡，县仍属之（3）。三国蜀汉建兴三年（225年）为兴古郡治（4）。西晋泰始元年（265年）郡治他移，仍属兴古郡（5）。永嘉五年（311年）复为郡治（6）。永和三年（347年）更名宛暖县（7）。<br><br><br>（1）《汉书》卷28上《地理志第八上》：“牂柯郡：武帝元鼎六年（前111年）开”。郡所领有宛温县。（北京，中华书局，1962年，第6册，第1602页）。设县时间，史无明载，当与郡同时开置。<br>（2）《后汉书》志第二十三《郡国五》宛温县下刘昭注谓：“《南中志》曰：‘县北三百里有盘江，广数百步，深十余丈。此江有毒气’”。（北京，中华书局，1965年，第十二册，第3511页）。《太平御览》卷791引《永昌郡传》说：“兴古郡在建宁南八百里……郡北三百里有盘江，广数百步，深十余丈，此江有毒瘴”。（转引自《云南史料丛刊》，云南大学出版社，1998年2月第一版，第一卷，第190页）。《永昌郡传》所说，即指郡治。宛温曾为郡治，“建宁南八百里”、盘江南三百里的郡治当即宛温县。史为乐主编《中国历史地名大辞典》考证说：宛温县“治所在今云南砚山县西北四十六里维摩”。（中国社会科学出版社，2005年3月第一版，下册，第1702页）。此说可从。今维摩处小坝子中，北距南盘江一百余公里。此外，近人对宛温地望考释甚多，定位各异，不取。<br>（3）《汉书》卷28上《地理志第八上》载：牂柯郡：“莽曰同亭”。（北京，中华书局，1962年，第6册，第1602页）。王莽职方改制，除有明确记载外，大多改于天凤元年（14年）。牂柯郡更名亦当在此年。王莽改牂柯郡为同亭郡，当仍辖有宛温县。王莽所改政区名，不久即复旧称，但恢复的时间有的无明确记载。《后汉书》卷11《刘玄传》：“更始即帝位……建元曰更始元年。……是时海内豪杰翕然响应，皆杀其牧守，自称将军，用汉年号，以待诏命，旬月之间，偏于天下”。（版本）。更始元年（23年）十月王莽被杀，新莽政亡。时全国当全复汉旧名，同亭郡当在其列，复名牂柯郡。<br>（4）《水经注》卷36温水注：“刘禅建兴三年（225年），分牂柯置兴古郡，治宛温县（原作‘温县’，误。——引者）。晋书《地道记》治此”。（王先谦校《水经注》，巴蜀书社，1985年9月第一版，第554页）。<br>（5）《晋书》卷14《地理上》宁州兴古郡首县为律高，宛温为属县之一。（北京，中华书局，1974年，第二册，第441页）。《宋书》卷38《州郡四》梁水郡胜休县：“晋武帝徙兴古治之，遂以属焉”。（北京，中华书局，1974年，第四册，第1189页）。据此，西晋时宛温县不再为郡治。移治时间，史无明载，姑定于晋武帝泰始元年（265年）。<br>（6）《华阳国志》卷4《南中志》兴古郡首列宛温县，并注谓“郡治”。（任乃强《华阳国志校补图注》，上海古籍出版社1987年10月第一版，第303页）。《华阳国志》所述地理沿革的下限至东晋前期，其载宛温县为郡治，说明兴古郡治几经迁变后重还旧地。郡治迁回宛温的时间，史无明载。方国瑜认为：“盖王逊分兴古，置梁水郡时，兴古郡治移至宛温”。（《中国西南历史地理考释》，中华书局，1987年10月第一版，上册，第84页）。此说可取。王逊置梁水郡时间为西晋末永嘉五年（311年）。<br>（7）《宋书》卷38《州郡四》兴古郡属县有宛暖，其“本名宛温，为桓温改”。（北京，中华书局，1974年，第四册，第1189页）。《华阳国志·南中志》所载仍为宛温，则东晋初仍未更名。成汉政权建立并发展起来后，宁州为其所有。宛温既为避桓温讳更名，则当在东晋灭成汉政权之后。《晋书》卷8《帝纪八》载：穆帝永和“三年春三月乙卯，桓温攻成都，克之。丁亥，李势降，益州平”。（北京，中华书局，1974年，第一册，第页）。今据此姑定宛温更名宛暖时间为永和三年（347年）。    ]]>  </source-note>  <source-uri>      </source-uri></placename>