Index XML Attributes

You can index XML attributes in the same way that you index ordinary fields. However, you must refer to them using the following format for IDOL Server to be able to read them:

*/tagName/_ATTR_attributeName

where:

tagName is the name of the tag.
attributeName is the name of the attribute that you want IDOL Server to read.

For example:

<FARM ANIMAL="sheep" COLOR="white"> Farmer Joe </FARM>

To identify the ANIMAL attribute to IDOL Server, refer to it as

*/FARM/_ATTR_ANIMAL

To identify the COLOR attribute to IDOL Server, refer to it as

*/FARM/_ATTR_COLOR

Example:

<ROOM Name="The Kitchen">
<FURNITURE>Table</FURNITURE >
<ITEM Type="China">Dish</ITEM>
</ROOM>

To identify the Name attribute to IDOL Server, refer to it as

*/ROOM/_ATTR_Name

To identify the Type attribute to IDOL Server, refer to it as

*/ITEM/_ATTR_Type

_HP_HTML5_bannerTitle.htm