XML Elements Used When Modifying Records
Copyright © 2006 Inmagic, Inc. All rights reserved.
This is a partial list of XML elements pertinent to the activity of modifying textbase records. You can find a complete description of the XML interface to WebPublisher PRO in the Inmagic Web Products Schema Documentation. To access the schema documentation, go to the Product Documentation section of the Inmagic Customer Extranet at http://support.inmagic.com/downloads/extranet.html.
For item 1 below, the first level of bullets contains values for the AC element, and the second level describes attributes that you can add to the AC element when that value is present. Default values for the attributes are underlined, where appropriate.
Example of use: <AC validation="update" trim="Y">INSERT</AC>
- AC is the action. Action values used to modify records are listed below.
- UPDATE - modify an existing record; use MatchFields to list names of field(s) that will identify record to modify. Optional attributes:
- validation - specifies what to do in the case of a validation violation:
- override - accept the record, but do not update the validation list.
- update - accept the record and update the validation list.
- none - reject the record.
- trim - specifies whether leading spaces should be removed: Y or N
- matchFound - specifies what action to take if matching record is found:
- rejectRecord - reject the record.
- appendFields - add the new text to the end of the existing field value.
- replaceRecord - replace the existing record with the fields included in the XML document; fields absent or empty will not be in the resulting record.
- deleteRecord - delete the matching record.
- replaceFields - replace the field values in the textbase with the field values in the form; only fields included in the XML document sent to WebPublisher PRO will be replaced.
- matchNotFound - specifies what action to take if matching record is not found:
- rejectRecord - reject any incoming records that do not match an existing record.
- acceptRecord
- add new record.