XMLNULLSSTRIP and XMLNULLSBLANK (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(initial load)
 
m (add displaytitle)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:XMLNULLSSTRIP and XMLNULLSBLANK}}
<span class="pageSubtitle">If nulls in sent screen XML, strip them or replace with blanks</span>
<span class="pageSubtitle">If nulls in sent screen XML, strip them or replace with blanks</span>


Line 5: Line 6:
<var>XMLNULLSSTRIP</var> strips any null characters in the XML to be sent. <var>XMLNULLSBLANK</var> replaces any nulls with blanks.  
<var>XMLNULLSSTRIP</var> strips any null characters in the XML to be sent. <var>XMLNULLSBLANK</var> replaces any nulls with blanks.  


The <var>[[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|XMLSCREEN and NOXMLSCREEN]]</var> parameters indicate whether the output format of 3270 screens that <var class="product">Janus Web Legacy Support</var> converts is XML or XHTML, respectively. The <var>[[XMLSNULLSCANCEL and NOXMLNULLSSEND (JANUS DEFINE parameters)|XMLSNULLSCANCEL and NOXMLNULLSSEND]]</var> parameters indicate whether or not to send converted XML that contains nulls.
The <var>[[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|XMLSCREEN and NOXMLSCREEN]]</var> parameters indicate whether the output format of 3270 screens that <var class="product">Janus Web Legacy Support</var> converts is XML or XHTML, respectively. The <var>[[XMLNULLSCANCEL and XMLNULLSSEND (JANUS DEFINE parameters)|XMLNULLSCANCEL and XMLNULLSSEND]]</var> parameters indicate whether or not to send converted XML that contains nulls.


Alternatives or overrides to specifying the <var>XMLNULLSSTRIP</var> and <var>XMLNULLSBLANK</var> parameters specified on the <var>JANUS DEFINE</var> command for the port are these on a per-URL basis:
Alternatives or overrides to specifying the <var>XMLNULLSSTRIP</var> and <var>XMLNULLSBLANK</var> parameters specified on the <var>JANUS DEFINE</var> command for the port are these on a per-URL basis:

Latest revision as of 00:18, 8 June 2016

If nulls in sent screen XML, strip them or replace with blanks

XMLNULLSSTRIP and XMLNULLSBLANK are parameters on JANUS DEFINE that affect the behavior of Janus Web Legacy XML Support screens if a null (X'00') character is encountered in the 3270 datastream that is converted to XML.

XMLNULLSSTRIP strips any null characters in the XML to be sent. XMLNULLSBLANK replaces any nulls with blanks.

The XMLSCREEN and NOXMLSCREEN parameters indicate whether the output format of 3270 screens that Janus Web Legacy Support converts is XML or XHTML, respectively. The XMLNULLSCANCEL and XMLNULLSSEND parameters indicate whether or not to send converted XML that contains nulls.

Alternatives or overrides to specifying the XMLNULLSSTRIP and XMLNULLSBLANK parameters specified on the JANUS DEFINE command for the port are these on a per-URL basis:

  • Using the like-named parameters in JANUS WEB SCREEN rules.
  • Using the like-named parameters in $Web_Screen calls.
  • Using the "options" attribute on incoming XML.

The XMLNULLSSTRIP and XMLNULLSBLANK parameters are available in Sirius Mods Version 8.1 and later.

Valid only for WEBSERV ports.

See also