Reports / Report instructions |
Prints an XML formatted row of data in a report.
PRINTX [NAME = identifier] expression
The PRINTX statement is similar to PRINT, except that it prints data in XML format. You typically write a complete report with PRINTX statements, to generate an XML output.
MAIN ... START REPORT orders_report TO XML HANDLER om.XmlWriter.createFileWriter("orders.xml") ... END MAIN
Unlike normal PRINT instructions, the PRINTX outputs both TEXT and BYTE data. The BYTE data is encoded to Base64 before output.