This section provides the following information on how the XML data handler converts XML documents to business objects:
The XML data handler makes the following assumptions about an XML document:
When converting an XML document into a business object, the XML data handler assumes that the business object follows the structure of the XML document and conforms to the business object definition requirements described in Requirements for business object definitions. If there is no attribute in the business object for a given element name, the XML data handler returns an error.
To convert an XML document to a business object, the XML data handler does the following:
To determine the business object name, the data handler invokes the name handler. The default name handler forms the top-level business object name by combining the BOPrefix meta-object attribute, an underscore, and the value of the root element. For example, if the XML document contains <!DOCTYPE Customer > and the BOPrefix attribute is MyApp, the resulting name is MyApp_Customer. You can provide a custom name handler to configure different behavior.