Example: Input of customer-specific XML document

This example shows a sample request which inputs a customer XML and a Word document.

<Import>
   <StructuredXmlDocument>
      <ContentType>text/xml</ContentType>
      <Content>
        <Structure>
          <CustomType>
            <OrderNumber>12345</OrderNumber>
            <CustomerId>3434</CustomerId>
            <Items>
              <Item pcs=”1” article=”9999”/>
              <Item pcs=”5” article=”9124”/>
              <Item pcs=”3” article=”1299”/>
            </Items>
          </CustomType>
        </Structure>
     </Content>
   </StructuredXmlDocument>
   <Part>
     <Filename>document.doc</Filename>
     <Content>
       <Binary>
         <!-- base64 encoded content of document.doc --> 
       </Binary>
     </Content>
   </Part>
</Import>

The customer XML can be rendered to PDF/TIFF or mapped to Kofax Capture fields.