Databases Reference
In-Depth Information
Choosing a root element
The next step allows us to define the target namespace and root element of the
schema that we are generating.
Don't forget that when using the Native Format Builder wizard, we
are just creating an XML Schema document that describes the native
(non-XML) format data. Most of the time this schema is transparent
to us. However, at times the XML constructs have to emerge, for
example, when identifying a name for a root element. The file is
described using an XML Schema extension known as NXSD.
As we can see the root element is mandatory. This root element acts as a wrapper
for the records in a message. If message batching is set to 1, then each wrapper
will have a single sub-element, namely, the record. If the message is set to greater
than 1, then each wrapper will have at least one and possibly more sub-elements,
each sub-element being a record. There can never be more sub-elements than the
batch size.
Message delimiters
Having described the overall structure of the file, we can now drill down into the
individual fields. To do this, we first specify the message delimiters.
 
Search WWH ::




Custom Search