AddField
The <AddField>
element adds a field to the document metadata.
The content of the field can be manipulated by child operations such as <AddField>
, SetValue, and SetAttribute.
The field is added to the document in the current field context. This means it is possible for subsequent operations to interact with and modify the new field. The NewField element can be used as an alternative to ensure the field is inserted after other operations have finished.
Attribute | Description |
---|---|
name
|
The name of the new field. |
value
|
The value of the new field. |
The following example adds a field named "newField", and then adds an attribute to the field:
<FieldStandardization> <AddField name="newField" value="newValue"> <SetAttribute name="newAttribute" value="true" /> </AddField> </FieldStandardization>