B2B Integration : Trading Networks Administrator's Guide : Large Document Handling : Defining Document Types for Large Documents
Defining Document Types for Large Documents
Large XML files that are sent to Trading Networks for processing must contain the XML declaration (for example, <?xml...) as the first line. No blank space can exist before the XML declaration, or Trading Networks will throw an exception.
XML document types can include XQL queries for document recognition and XQL queries for extracting document attributes. Trading Networks does not read the entire content of large XML documents into memory to perform XQL queries; instead, it reads only the number of bytes you specify on the tn.xml.xqlThreshold into memory. The XQL queries, therefore, must match nodes in the first portion of the document. If the XQL queries identify nodes in the portion that is not in memory, the query fails, and Trading Networks cannot match the document type to the document or extract document attributes.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback