Open topic with navigation

# Custom Elements

Custom named elements can be used anywhere in the XML. These can be used to provide structure to the metadata in the indexed document.

The following elements generally expect child elements and can include custom elements:

- `DOCUMENT`
- `_TO_RELATIONSHIP`
- `_FROM_RELATIONSHIP`
- `_RELATIONSHIP`
- `_TO_OBJECT`
- `_FROM_OBJECT`
- `_OBJECT`
- Other custom elements.

All other elements ignore all child elements unless explicitly included by `_INCLUDE` or `_INCLUDE_CHILDREN`, or required by a `_JPO` element.

Custom elements can also be used as an alternative to the `node_name` attribute. For example:

       <_ATTRS node_name="attributes"/>

is equivalent to:

       <attributes></ATTRS></attributes>

Note that:

    <_TO_RELATIONSHIP node_name="relation" ...>...</_TO_RELATIONSHIP>

is equivalent to:

    <_TO_RELATIONSHIP ...><relation>...</relation></_TO_RELATIONSHIP>

Also note that:

    <_OBJECT myfield="value" ...>...</_OBJECT>

is equivalent to:

    <_OBJECT ...><myfield>value</myfield>...</OBJECT>

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm