<?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 Find and Replace a String in an xml file via VBA in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/find-and-replace-a-string-in-an-xml-file-via-vba/m-p/688941#M7452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a scripting method for performing a find and replace operation on an xml (.rbj) file using VBA/VB.net. I would require that it replace the geodatabase paths (all set to be the same) with the current geodatabase location variable (workspace).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a few VB examples, however I can not get any of them to work within the VBA environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be hugely appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Blair Hornung&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ISC of Saskatchewan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 15:49:55 GMT</pubDate>
    <dc:creator>BlairHornung</dc:creator>
    <dc:date>2010-08-23T15:49:55Z</dc:date>
    <item>
      <title>Find and Replace a String in an xml file via VBA</title>
      <link>https://community.esri.com/t5/mapping-questions/find-and-replace-a-string-in-an-xml-file-via-vba/m-p/688941#M7452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a scripting method for performing a find and replace operation on an xml (.rbj) file using VBA/VB.net. I would require that it replace the geodatabase paths (all set to be the same) with the current geodatabase location variable (workspace).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a few VB examples, however I can not get any of them to work within the VBA environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be hugely appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Blair Hornung&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ISC of Saskatchewan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 15:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/find-and-replace-a-string-in-an-xml-file-via-vba/m-p/688941#M7452</guid>
      <dc:creator>BlairHornung</dc:creator>
      <dc:date>2010-08-23T15:49:55Z</dc:date>
    </item>
  </channel>
</rss>

