# Data

Type the content of the IDX or XML document to index. You can gzip the document data. You must add `#DREENDDATA` (uncompressed) to the end of the data.

Specify the fields and field values as follows (this list is not exhaustive):

    #DREDOCREF reference
    DREFIELD fieldName
    #DRECONTENT
    #DRETYPE type
    #DREDBNAME dbName
    #DREENDDATA

where,

`#DREDOCREF reference` | is the reference of the document containing the field to change or delete.
`#DREFIELD fieldName` | is the name of a specific field, such as author.
`#DRECONTENT` | is the content of the IDX or XML document to index.
`#DRETYPE type` | is the data type of the content.
`#DREDBNAME dbName` | is the name of the database in which to index the content.
`#DREENDDATA` | must exist at the end of the action parameter block to signify the end of the data. It must not be compressed.

Actions: | DREADDDATA
Type: | String
Default: |
Example: | `#DREREFERENCE 572801A2\n #DREFIELD author="George Eliot"\n #DREDATE 2005/24/03\n #DRETITLE\n Roses\n #DRECONTENT\n You love the roses - so do I. I wish\n They sky would rain down roses, as they rain\n From off the shaken bush. Why will it not?\n Then all the valley would be pink and white\n And soft to tread on. They would fall as light\n As feathers, smelling sweet; and it would be\n Like sleeping and like waking, all at after!\n #DRETYPE text\n #DREDBNAME Poetry\n #DREENDDOC\n #DREENDDATANOOP\n\n` In this example, the DREADDDATA adds the content specified in `#DRECONTENT` to the `Poetry` database.
See Also: |

_FT_HTML5_bannerTitle.htm