<?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 Re: Continution of .XML file extraction in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/continution-of-xml-file-extraction/m-p/552731#M3723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at the XML and the reason it's not loading into ArcDesktop is because it doesn't match the Geodatabase XML schema.&amp;nbsp; A couple options come to mind for getting this into a shape file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use XSLT to transform this XML into Geodatabase XML schema format.&amp;nbsp; Then you can manually load them using ArcDesktop as mentioned in the &lt;A _jive_internal="true" href="https://community.esri.com/thread/136351"&gt;original thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. Write a Python script to read the XML files, parse them for the lat/long and create shapes from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend Option #2 since you mentioned there are thousands of files.&amp;nbsp; With this option you could create a very nice automated process which picks up those files, parses them and creates all the shapes you need with only one or two clicks.&amp;nbsp; Even more so, if this is a process that you need to perform more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also mentioned that you're new to development.&amp;nbsp; I am a &lt;A href="http://www.calvarylogic.com/"&gt;software development consultant&lt;/A&gt; and would be happy to help you implement this if you want to go that direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 21:52:46 GMT</pubDate>
    <dc:creator>MattSnyder1</dc:creator>
    <dc:date>2015-03-27T21:52:46Z</dc:date>
    <item>
      <title>Continution of .XML file extraction</title>
      <link>https://community.esri.com/t5/developers-questions/continution-of-xml-file-extraction/m-p/552730#M3722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am attempting figure out how to use an .XML document in ArcGIS 10.2.2.&amp;nbsp; Can it be used or what would I need to do to make it useable? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to figure out how to quickly and easily extract XY coordinates out of an .XML document.&amp;nbsp; I only need the XY coordinates from the document so I can create a Shapefile representing these coordinates on my map.&amp;nbsp; I need to figure out a way to get this information out of about 11,000 individual .XML documents thus the quick and easy part.&amp;nbsp; The only way I know to get the data is to visually read the .XML and retype them in Notepad or Excel.&amp;nbsp; This is neither quick or easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any thoughts of how I can do this that would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 20:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/continution-of-xml-file-extraction/m-p/552730#M3722</guid>
      <dc:creator>RogerDunn2</dc:creator>
      <dc:date>2015-03-27T20:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Continution of .XML file extraction</title>
      <link>https://community.esri.com/t5/developers-questions/continution-of-xml-file-extraction/m-p/552731#M3723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at the XML and the reason it's not loading into ArcDesktop is because it doesn't match the Geodatabase XML schema.&amp;nbsp; A couple options come to mind for getting this into a shape file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use XSLT to transform this XML into Geodatabase XML schema format.&amp;nbsp; Then you can manually load them using ArcDesktop as mentioned in the &lt;A _jive_internal="true" href="https://community.esri.com/thread/136351"&gt;original thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. Write a Python script to read the XML files, parse them for the lat/long and create shapes from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend Option #2 since you mentioned there are thousands of files.&amp;nbsp; With this option you could create a very nice automated process which picks up those files, parses them and creates all the shapes you need with only one or two clicks.&amp;nbsp; Even more so, if this is a process that you need to perform more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also mentioned that you're new to development.&amp;nbsp; I am a &lt;A href="http://www.calvarylogic.com/"&gt;software development consultant&lt;/A&gt; and would be happy to help you implement this if you want to go that direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 21:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/continution-of-xml-file-extraction/m-p/552731#M3723</guid>
      <dc:creator>MattSnyder1</dc:creator>
      <dc:date>2015-03-27T21:52:46Z</dc:date>
    </item>
  </channel>
</rss>

