XML/HTML Output Structure

XML output is controlled using the Options for XML/HTML Output in the Output Options.

Overview

Smart Forms generates the tables shown in blue during the HTML output. The TrfResult structure (at the top right of the diagram above) contains the HTML that can be displayed in the browser. The CSS style sheet is embedded into this HTML.

Components

XML Output Structure

Structure XMLOUTPUT (Type: SSFXMLOUT)

Parameter Name

Component Type
Data Type(Length)

Description

XSFDATA

TSFIXML
Table of
RAW(1024)

XSF output or XDF output in binary format without layout information. The output is encoded according to ISO 10646 (UTF-8).

XSFLENGTH

TDIXMLLEN
INT4(10)

Length of the XSF or XDF output.

XSFTYPE

SFHTTPTYPE
STRING

MIME type of the XSF or XDF output.

Default value: text/xml.

XSFDOCPTR

SSFDOCPTR
Ref To
IF_IXML_DOCUMENT

Reference to an iXML document for XSF or XDF output, which concurs with the Document Object Model (DOM). See: XML Library.

STSHEET

SSFSTYLS

CSS style sheet for formatting the Web form (see below).

TRFRESULT

TRFRESULT

HTML output with embedded CSS style sheet (see below).

CSS Style Sheet (STSHEET)

Structure StSheet (Type: SSFStyls) in the Output Structure

Parameter Name

Component Type
Data Type(Length)

Description

FMTNAME

STRING

Contains a generated GUID for the CSS style sheet, for example E587886A3852424EAD11E6BEE1ADF467.css.

FMTTYPE

SFHTTPTYPE
STRING

MIME type of the CSS style sheet.

Default value: text/css.

FMTCONTENT

TSFSTBODY
Table of
STRING

CSS style sheet in ASCII format.

FMTLENGTH

TDIXMLLEN
INT4(10)

Length of the CSS style sheet.

HTML Output (TRFRESULT)

Structure TrfResult (Type: TrfResult) in the Output Structure

Parameter Name

Component Type
Data Type(Length)

Description

TYPE

SFHTTPTYPE
STRING

MIME type of the CSS style sheet.

Default value: text/html.

CONTENT

TSFIXML
TABLE OF
RAW(1024)

HTML with embedded CSS style sheet.

LENGTH

TDIXMLLEN
INT4(10)

Length of the HTML output.