Example File Description Documents

Here are the file description documents for the flat file invoice and purchase order examples.

Sample InvoiceFlatSourceDescription.xml
 <?xml version="1.0" encoding="UTF-8"?> <FlatSourceFileDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FlatSourceFileDescription.xsd"> <PhysicalCharacteristics> <RecordFormat> <Variable RecordTerminator="W"/> </RecordFormat> <TagInfo Offset="0" Length="3"/> </PhysicalCharacteristics> <XMLOutputCharacteristics> <SchemaLocationURL value="FlatInvoice.xsd"/> <PartnerBreak Offset="3" Length="20"/> </XMLOutputCharacteristics> <Grammar ElementName="FlatInvoice" TagValue="HDR"> <RecordDescription ElementName="Header" TagValue="HDR"> <FieldDescription ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.