<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The WMTS capabilities XML is not valid in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-wmts-capabilities-xml-is-not-valid/m-p/200654#M18606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone!&lt;/P&gt;&lt;P&gt;these are my source code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;!DOCTYPE &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;head&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;meta &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;http-equiv=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"Content-Type" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;content=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"text/html; charset=utf-8"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;lt;!--The viewport meta tag is used to improve the presentation and behavior&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;nbsp; of the samples on iOS devices--&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;meta &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;name=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"viewport" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;content=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"initial-scale=1, maximum-scale=1,user-scalable=no"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;Add WMTS Layer&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;link &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;rel=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"stylesheet" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;href=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/esri/css/esri.css" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.13/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;html&lt;/SPAN&gt;, &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;body &lt;/SPAN&gt;{ &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;height&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;100&lt;/SPAN&gt;%; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;width&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;100&lt;/SPAN&gt;%; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;margin&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;padding&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;#map&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;padding&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;#citationInfo&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;position&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;absolute&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;color&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;black&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;font-weight&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;bold&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;font-size&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;pt&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;left&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;px&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;bottom&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;px&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;z-Index&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;999&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;src=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.13/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #fda5ff;"&gt;map&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; require([&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"esri/map"&lt;/SPAN&gt;, &lt;SPAN style="color: #d69d85;"&gt;"esri/layers/WMTSLayer"&lt;/SPAN&gt;, &lt;SPAN style="color: #d69d85;"&gt;"esri/layers/WMTSLayerInfo"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"esri/config"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"dojo/domReady!"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d69d85;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;], &lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;Map&lt;/SPAN&gt;, &lt;SPAN style="color: #fdc267;"&gt;WMTSLayer&lt;/SPAN&gt;, &lt;SPAN style="color: #fdc267;"&gt;WMTSLayerInfo&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #608b4e;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e; font-family: '宋体';"&gt;设置代理&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e; font-family: '宋体';"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;/SPAN&gt;.defaults.io.proxyUrl = &lt;SPAN style="color: #d69d85;"&gt;"resource-proxy-1.0/Java/proxy.jsp"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;/SPAN&gt;.defaults.io.alwaysUseProxy = &lt;SPAN style="color: #569cd6;"&gt;true&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #608b4e;"&gt;//esriConfig.defaults.io.proxyUrl = "/proxy/";&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #fda5ff;"&gt;map &lt;/SPAN&gt;= &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;Map&lt;/SPAN&gt;(&lt;SPAN style="color: #d69d85;"&gt;"map"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;layerInfo = &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;WMTSLayerInfo&lt;/SPAN&gt;({&lt;/P&gt;&lt;P&gt;&amp;nbsp; identifier: &lt;SPAN style="color: #d69d85;"&gt;"test_MyMapService"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; tileMatrixSet: &lt;SPAN style="color: #d69d85;"&gt;"EPSG:3857"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; format: &lt;SPAN style="color: #d69d85;"&gt;"png"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d69d85;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;options = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; serviceMode: &lt;SPAN style="color: #d69d85;"&gt;"KVP"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; layerInfo: layerInfo&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;wmtsLayer = &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;WMTSLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #d69d85;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services/test/MyMapService/MapServer/WMTS" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services/test/MyMapService/MapServer/WMTS&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,options);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fda5ff;"&gt;map&lt;/SPAN&gt;.&lt;SPAN style="color: #78bea6;"&gt;addLayer&lt;/SPAN&gt;(wmtsLayer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;head&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;id=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"map"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;id=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"citationInfo"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my broser,it appears this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QQ图片20150524113252.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/102640_QQ图片20150524113252.png" style="width: 620px; height: 49px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my wmts service xml：&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QQ图片20150524114111.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/102932_QQ图片20150524114111.jpg" style="width: 620px; height: 383px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hlep me !&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2015 03:42:27 GMT</pubDate>
    <dc:creator>zhongrenGu</dc:creator>
    <dc:date>2015-05-24T03:42:27Z</dc:date>
    <item>
      <title>The WMTS capabilities XML is not valid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-wmts-capabilities-xml-is-not-valid/m-p/200654#M18606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone!&lt;/P&gt;&lt;P&gt;these are my source code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;!DOCTYPE &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;head&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;meta &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;http-equiv=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"Content-Type" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;content=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"text/html; charset=utf-8"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;lt;!--The viewport meta tag is used to improve the presentation and behavior&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;nbsp; of the samples on iOS devices--&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #80807f; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;meta &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;name=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"viewport" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;content=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"initial-scale=1, maximum-scale=1,user-scalable=no"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;Add WMTS Layer&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;link &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;rel=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"stylesheet" &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;href=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/esri/css/esri.css" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.13/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;html&lt;/SPAN&gt;, &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;body &lt;/SPAN&gt;{ &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;height&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;100&lt;/SPAN&gt;%; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;width&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;100&lt;/SPAN&gt;%; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;margin&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;padding&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;#map&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;padding&lt;/SPAN&gt;: &lt;SPAN style="color: #ae81ff;"&gt;0&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;#citationInfo&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;position&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;absolute&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;color&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;black&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;font-weight&lt;/SPAN&gt;:&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;bold&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;font-size&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;pt&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;left&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;px&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;bottom&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #ffb3b3; font-weight: bold;"&gt;px&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;z-Index&lt;/SPAN&gt;:&lt;SPAN style="color: #ae81ff;"&gt;999&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;src=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.13/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #fda5ff;"&gt;map&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; require([&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"esri/map"&lt;/SPAN&gt;, &lt;SPAN style="color: #d69d85;"&gt;"esri/layers/WMTSLayer"&lt;/SPAN&gt;, &lt;SPAN style="color: #d69d85;"&gt;"esri/layers/WMTSLayerInfo"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"esri/config"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #d69d85;"&gt;"dojo/domReady!"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d69d85;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;], &lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;Map&lt;/SPAN&gt;, &lt;SPAN style="color: #fdc267;"&gt;WMTSLayer&lt;/SPAN&gt;, &lt;SPAN style="color: #fdc267;"&gt;WMTSLayerInfo&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #608b4e;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e; font-family: '宋体';"&gt;设置代理&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e; font-family: '宋体';"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;/SPAN&gt;.defaults.io.proxyUrl = &lt;SPAN style="color: #d69d85;"&gt;"resource-proxy-1.0/Java/proxy.jsp"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fdc267;"&gt;esriConfig&lt;/SPAN&gt;.defaults.io.alwaysUseProxy = &lt;SPAN style="color: #569cd6;"&gt;true&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #608b4e;"&gt;//esriConfig.defaults.io.proxyUrl = "/proxy/";&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #fda5ff;"&gt;map &lt;/SPAN&gt;= &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;Map&lt;/SPAN&gt;(&lt;SPAN style="color: #d69d85;"&gt;"map"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;layerInfo = &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;WMTSLayerInfo&lt;/SPAN&gt;({&lt;/P&gt;&lt;P&gt;&amp;nbsp; identifier: &lt;SPAN style="color: #d69d85;"&gt;"test_MyMapService"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; tileMatrixSet: &lt;SPAN style="color: #d69d85;"&gt;"EPSG:3857"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; format: &lt;SPAN style="color: #d69d85;"&gt;"png"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d69d85;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;options = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; serviceMode: &lt;SPAN style="color: #d69d85;"&gt;"KVP"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; layerInfo: layerInfo&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var &lt;/SPAN&gt;wmtsLayer = &lt;SPAN style="color: #569cd6;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #fdc267;"&gt;WMTSLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #d69d85;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services/test/MyMapService/MapServer/WMTS" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services/test/MyMapService/MapServer/WMTS&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,options);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #fda5ff;"&gt;map&lt;/SPAN&gt;.&lt;SPAN style="color: #78bea6;"&gt;addLayer&lt;/SPAN&gt;(wmtsLayer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;head&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;id=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"map"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #373737;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e; background-color: #373737; font-weight: bold;"&gt;id=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74; background-color: #373737; font-weight: bold;"&gt;"citationInfo"&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #f92672; background-color: #373737; font-weight: bold;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="background-color: #373737;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my broser,it appears this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QQ图片20150524113252.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/102640_QQ图片20150524113252.png" style="width: 620px; height: 49px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my wmts service xml：&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QQ图片20150524114111.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/102932_QQ图片20150524114111.jpg" style="width: 620px; height: 383px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hlep me !&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 03:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-wmts-capabilities-xml-is-not-valid/m-p/200654#M18606</guid>
      <dc:creator>zhongrenGu</dc:creator>
      <dc:date>2015-05-24T03:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: The WMTS capabilities XML is not valid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-wmts-capabilities-xml-is-not-valid/m-p/200655#M18607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zhongren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sorry I don't work with WMTS so I will not be much help here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 20:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-wmts-capabilities-xml-is-not-valid/m-p/200655#M18607</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-24T20:54:22Z</dc:date>
    </item>
  </channel>
</rss>

