<?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_44534</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">Liangshan 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>965</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.66665</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>107.78897</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location><br />
<b>Warning</b>:  Undefined array key "text_value" in <b>/var/www/html/tgaz/placename.php</b> on line <b>547</b><br />
     </present-location>  </spatial>  <historical-context>    <part-of-relationships>      <part-of parent-id="hvd_115543" from="970" to="1282" >        <parent-name>梁山军</parent-name>        <transcribed-name>Liangshan Jun</transcribed-name>      </part-of>      <part-of parent-id="hvd_96646" from="1373" to="1376" >        <parent-name>夔州府</parent-name>        <transcribed-name>Kuizhou Fu</transcribed-name>      </part-of>      <part-of parent-id="hvd_44538" from="1377" to="1386" >        <parent-name>忠州</parent-name>        <transcribed-name>Zhong Zhou</transcribed-name>      </part-of>      <part-of parent-id="hvd_96614" from="1387" to="1733" >        <parent-name>夔州府</parent-name>        <transcribed-name>Kuizhou Fu</transcribed-name>      </part-of>      <part-of parent-id="hvd_96603" from="1734" to="1911" >        <parent-name>忠州</parent-name>        <transcribed-name>Zhong Zhou</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[      梁山县（965—1912年）<br><br>北宋乾德三年（965年）移治宋梁山县治，即今梁平县治。开宝三年（970年）建梁山军，县为军治。①元至元二十年（1283年）升军为州，县为州治。②明洪武六年（1373年）省州，存县，属夔州府。十年（1377年）改属忠州，二十年（1387年）复属夔州府。③清初因之。雍正十二年（1734年）改属忠州。④1913年忠州废，县属四川省。⑤<br><br>注：<br>①《宋史》卷89《地理志五》：“梁山军，……开宝三年以万州石氏屯田务置军，拨梁山县来隶。……县一：梁山。”（第7册，2228页）《舆地纪胜》卷179《夔州路》：“梁山军……后周又分朐忍县地置梁山县，治西魏万川郡故城。……唐置浦州，梁山以县属焉，寻改浦州为万州。五代伪蜀在今军治置屯田务（《图经》在广政二十一年），曰石氏屯田务。皇朝平蜀（乾德三年）土豪石处赟纳庄田八所，遂废屯田务，移县于此，因升为军（此据《图经》。又《寰宇记》云：开宝三年置屯田务，因建为梁山军，管梁山一县。《长编》云：开宝二年以万州梁山县为梁山军）。……梁山县，倚郭。《元和郡县志》云：……周武帝于此分置梁山县，属万川郡。《寰宇记》以为后周天和二年置梁山县。杜佑《通典》亦以为后周置梁山县。而《隋志》以为西魏置梁山县。不同。象之谨按：《旧唐书志》乃是魏置万安郡，未尝置梁山县也。《旧唐志》又云：后周置梁山县，治后魏万安郡故城，非西魏置梁山县。特因西魏所置故万安郡之基而置梁山县耳。《舆地广记》云：隋属巴东郡，唐武德二年属南浦州。八年州废属夔州。是年复立浦州，又来属。后改为万州。皇朝开宝三年立军，以为治焉。《国朝会要》去：熙宁五年又析忠州桂溪县益焉。”（第5册，4623页）即梁山县治，1952年12月改为梁平县（《中华人民共和国行政区划（1949—1997年）》1557页，中华人民共和国民政部编，1998年）。<br>②《元史》卷60《地理志三》：“夔州路……梁山州，本梁山县，宋升梁山军，元至元二十年升为州。领县一：梁山。”（第5册，1444页）<br>③《明史》卷43《地理志四》：“夔州府，元夔州路，属四川南道宣慰司。洪武四年为府。九年四月降为州，属重庆府。十年五月直隶布政司。十三年十一月复为府。……梁山，元梁山州，治梁山县。洪武六年十二月省州，存县。十年改属忠州，后来属。”（第4册，1030页）后来属具体年代无考，姑作洪武二十年（1387年）复属夔州府。<br>④《清嘉庆一统志》第152册，卷416《忠州一·建置沿革》：“梁山县，……明洪武七年州废，县属夔州府。本朝初因之。雍正十二年改属忠州。”<br>⑤见内政部编《中华民国行政区划简表》，48页。商务印书馆，1947年。    ]]>  </source-note>  <source-uri>      </source-uri></placename>