Home » Categories » Solutions by Business Process » E-Business » XML

Diagnostic XML File Print

Datafile Software

Diagnostic XML File Print


XML files may be sent as a continuous stream of data, with little or no formatting enclosed within them. This makes them hard to read. This option prints each element on a new line, indenting by two characters the start of a child element compared to its parent. This makes for much easier reading of the XML file.

Enter the pathname of the XML file you wish to print when requested.

Provided the file is well-formed (that is to say, every opening tag in the structure has a corresponding closing tag) then it is reported as "well formed”. If any obvious errors are noted during printing, these are recorded on the report. For example, the print routine might report an opening tag does not have a matching closing tag.

Note

This diagnostic print is actually performed by the DataFiler module, not the XML module. The menu option calls DB.EXE with parameter 9996.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Template Attributes
Viewed 2169 times since Mon, Jul 9, 2012
Call XML Option From Application Menu
Viewed 2200 times since Tue, Jul 10, 2012
Date and Time
Viewed 2223 times since Mon, Jul 9, 2012
Example Datafile XML Template
Viewed 15333 times since Tue, Jul 10, 2012
check
Viewed 2147 times since Mon, Jul 9, 2012
save
Viewed 2056 times since Mon, Jul 9, 2012
Constants File
Viewed 2219 times since Mon, Jul 9, 2012
Element Tags
Viewed 1958 times since Mon, Jul 9, 2012
Constants File - Other XML Associated Files
Viewed 2170 times since Tue, Jul 10, 2012
Handling Incoming XML Errors
Viewed 3490 times since Thu, Jul 5, 2012