<?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 How to use an &amp;lt;include &amp;gt; tag in the locator XML in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-use-an-lt-include-gt-tag-in-the-locator-xml/m-p/87333#M5087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried copying the example in the white paper and adapting it for my suburb aliases but haven't got it right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="Urbanisations.xml" xpath="/def/"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a top level extension, so maybe that is why the xpath parameter is added to poke it into the right place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find any XML documentation on the &amp;lt;include&amp;gt; tag on the web.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I tried after the other Aliases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="NZaltSuburb.xml" &amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="file://NZaltSuburb.xml"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it with and without the xpath set to /def/ or /alias_list/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied the file into the &amp;lt;arcgis&amp;gt;/locators folder with the lot file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cutting and pasting the contents into the file does work, but it would be nice for the customer to be able to re-run the python script for updates without having to edit the XML.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:20:35 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2021-12-10T23:20:35Z</dc:date>
    <item>
      <title>How to use an &lt;include &gt; tag in the locator XML</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-use-an-lt-include-gt-tag-in-the-locator-xml/m-p/87333#M5087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried copying the example in the white paper and adapting it for my suburb aliases but haven't got it right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="Urbanisations.xml" xpath="/def/"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a top level extension, so maybe that is why the xpath parameter is added to poke it into the right place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find any XML documentation on the &amp;lt;include&amp;gt; tag on the web.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I tried after the other Aliases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="NZaltSuburb.xml" &amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;include uri="file://NZaltSuburb.xml"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it with and without the xpath set to /def/ or /alias_list/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied the file into the &amp;lt;arcgis&amp;gt;/locators folder with the lot file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cutting and pasting the contents into the file does work, but it would be nice for the customer to be able to re-run the python script for updates without having to edit the XML.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-use-an-lt-include-gt-tag-in-the-locator-xml/m-p/87333#M5087</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2021-12-10T23:20:35Z</dc:date>
    </item>
  </channel>
</rss>

