Bookshelf Home | Contents | Index | PDF |
XML Reference: Siebel eBusiness Application Integration Volume V > XML Representation of Integration Object Instances > Document Type Definitions (DTDs)The Document Type Definition (DTD) provides metadata describing the structure of an XML document. It can be used by validating XML parsers to make sure that a given document instance conforms to the expected structure—that is, the structure defined in the DTD. You can generate the DTD for an integration object by using the Generate Schema feature in Siebel Tools. The feature is activated by clicking the Generate Schema button in Siebel Tools after selecting a given integration object definition. NOTE: Attachment attributes are not supported in DTD because they are not part of the integration object definition and only appear at runtime. The SiebelMessage element is optional. It can be omitted by selecting the No Envelope option in the Generate XML Schema wizard. The DTD for the message header is generated in the actual XML document at run-time. The generation of this inline DTD and a reference to the external portion is enabled through the GenerateDTD parameter of the EAI XML Converter. Here is an example of a DTD for the Sample Account integration object as generated by Siebel Tools: <!-- Siebel DTD Generation --> NOTE: All fields are optional, but if present, they must appear in the correct order. The definition of a field appears only once at the beginning of the DTD, even if its XML tag appears in multiple components. When creating XML tag names for fields, the wizard only reuses a field name if all instances have the same datatype, length, precision, and scale. |
XML Reference: Siebel eBusiness Application Integration Volume V |