Attributes

To be able to include attribute values for a location, you must specify the tag and include the Name or ID of the attribute as well as the tag that matches the type of attribute it is. The different types of attributes are as follows:

Text - limited to 255 characters
Memo - for large blocks of text - no limit
Numeric - integer values ranging from -2,147,483,648 to 2147483647
Yes/No - a boolean value represented by true or false
Drop Down - a single selection droplist
Radio Group - a group of values represented by radio buttons allowing one selection
Checkbox Group - a group of values represented by checkboxes allowing multiple selections
Link - a URL and associated display text
Photo - Accepts an image URL with file extensions BMP, GIF, JPEG, or PNG

The section of the XML Schema for attributes is:

<xs:element name="LocAttribute" minOccurs="0" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Name" type="xs:string" minOccurs="0" />
      <xs:element name="ID" type="xs:int" minOccurs="0" />
      <xs:element name="ValueBoolean" type="xs:boolean" minOccurs="0" />
      <xs:element name="ValueString" type="xs:string" minOccurs="0" />
      <xs:element name="ValueInteger" type="xs:int" minOccurs="0" />
      <xs:element name="ValueOptionID" type="xs:int" minOccurs="0" maxOccurs="unbounded" />
      <xs:element name="ValueOptionText" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
      <xs:element name="ValueLinkURL" type="xs:string" minOccurs="0" />
      <xs:element name="ValueLinkDisplayText" type="xs:string" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

The following tags map to the different types of attributes:

ValueBoolean - Yes/No
ValueString - Photo, Text & Memo
ValueInteger - Numeric
ValueOptionID OR ValueOptionText - Drop Down, Radio Group & Checkbox Group
ValueLinkURL AND ValueLinkDisplayText - Link
You should only use the tag(s) which apply to the attribute type for each entry.

The XML Sample Data File has examples of each attribute type.