When outputting to XML, EscapeE 'eE' iconEscapeE enables you to export more than just the data content of the fields. For example, you may specify a style sheet so that you control the way that the data is presented and set up a path to run the XML using the program of your choice.

Set up the data fields as usual (see Defining fields and tags) then:

1.Select Edit... from the Fields menu or
press Ctrl and D keys.
2.The Field dialog opens: click the XML tab. You may need to scroll the tabs to the right Scroll tabs > arrow button glyph to bring the tab into view.
3.Tick Include XY coordinates to output the locations of the top-left corner of the fields.
4.Tick Include graphic field data to output any fields of TYPE "Graphic"; they will be encoded as PNG images.
5.Tick Include font information to use font attributes defined in the current document in the output XML.
6.Tick Include width and height to output the size of the field; see notes below.
7.To create a margin around text within a field area, enter the size (measured in 1/300 inch) in the Padding edit-box.
8.You may set up a command-line to run the XML to an application program:
oEnter a top-level tag name. If omitted, the default is the stem of the field definitions file name. E.g.: MYxmlDATA.
oSpecify, or Browse... to, the XSL Stylesheet to be used for the output XML. E.g.: MyStyleSheet.XSL.
oNominate an associated Program to process XML output. The default is normally the default browser. E.g. IEXPLORE.EXE.
oEnter any other Program parameters that you require: see Command line syntax for descriptions of the options.
9.Click OK.

Blue diamond bullet Notes

If the field is of TYPE "Graphic", the width and height of the image is given in pixels; if the image's resolution does not match that of EscapeE (normally 600dpi), the SCALE factor that EscapeE has applied to the image is also given. For example, a 1inch square PNG image with a resolution of 100dpi might produce this fragment of XML:

<FIELD... TYPE="GRA" FILETYPE="PNG" WIDTH="100" HEIGHT="100" SCALE="6">.