XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (show "JANUS DEFINE parameter" in title)
m (misc cleanup)
Line 3: Line 3:
<var>XMLSCREEN</var> and <var>XMLNOSCREEN</var> are parameters on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  
<var>XMLSCREEN</var> and <var>XMLNOSCREEN</var> are parameters on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


Indicates whether or not <var class="product">[[Janus Web Legacy Support|Janus Web Legacy]]</var> screens will be be sent as XML with field names but no formatting information, or as XHTML with formatting tags so that the screens are viewable as a browser pages but without field names. <var>NOXMLSCREEN</var>, the default, specifies that <var class="product">Janus Web Legacy Support</var> converts 3270 screens to XHTML. While this is nice if the intent is for the pages to appear on a browser, it's not very convenient if the screens/pages are to be processed by some other program. Specifying <var>XMLSCREEN</var> enables <var class="product">[[Janus Web Legacy XML Support]]</var> which provides a much nicer interface for external programs to process legacy 3270 screens.
These parameters indicate the output format of 3270 screens that <var class="product">[[Janus Web Legacy Support]]</var> converts:
<ul>
<li><var>XMLSCREEN</var> specifies that screens are sent as XML with field names but no formatting information. </li>
 
<li><var>NOXMLSCREEN</var>, the default, specifies that screens are sent as XHTML with formatting tags, so the screens are viewable as browser pages but without field names. </li>
</ul>
 
Using <var>NOXMLSCREEN</var> to convert 3270 screens to XHTML is suitable if the intent is for the pages to appear on a browser, but this is not very convenient if the screen content is to be processed by some other program. Using <var>XMLSCREEN</var> enables <var class="product">[[Janus Web Legacy XML Support]]</var>, which provides a much nicer interface for external programs to process legacy 3270 screens.


The <var>XMLSCREEN</var> and <var>NOXMLSCREEN</var> parameters are available in <var class="product">Sirius Mods</var> Version 8.1 and later.  
The <var>XMLSCREEN</var> and <var>NOXMLSCREEN</var> parameters are available in <var class="product">Sirius Mods</var> Version 8.1 and later.  

Revision as of 15:24, 24 April 2015

Present or don't present legacy screens as non-HTML XML

XMLSCREEN and XMLNOSCREEN are parameters on JANUS DEFINE, which defines and sets characteristics of a Janus port.

These parameters indicate the output format of 3270 screens that Janus Web Legacy Support converts:

  • XMLSCREEN specifies that screens are sent as XML with field names but no formatting information.
  • NOXMLSCREEN, the default, specifies that screens are sent as XHTML with formatting tags, so the screens are viewable as browser pages but without field names.

Using NOXMLSCREEN to convert 3270 screens to XHTML is suitable if the intent is for the pages to appear on a browser, but this is not very convenient if the screen content is to be processed by some other program. Using XMLSCREEN enables Janus Web Legacy XML Support, which provides a much nicer interface for external programs to process legacy 3270 screens.

The XMLSCREEN and NOXMLSCREEN parameters are available in Sirius Mods Version 8.1 and later.

You can override the XMLSCREEN and NOXMLSCREEN parameters on the JANUS DEFINE command on a URL basis using the like-named parameters in JANUS WEB SCREEN rules.

Valid only for WEBSERV ports.

See also