Select to view content in your preferred language

How to use an <include > tag in the locator XML

435
0
03-25-2013 05:02 PM
KimOllivier
Honored Contributor
I tried copying the example in the white paper and adapting it for my suburb aliases but haven't got it right.
<include uri="Urbanisations.xml" xpath="/def/">

This is a top level extension, so maybe that is why the xpath parameter is added to poke it into the right place.
I cannot find any XML documentation on the <include> tag on the web.

Here is what I tried after the other Aliases:
<include uri="NZaltSuburb.xml" >

<include uri="file://NZaltSuburb.xml">

I tried it with and without the xpath set to /def/ or /alias_list/
I copied the file into the <arcgis>/locators folder with the lot file.

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.
Tags (2)
0 Kudos
0 Replies