<xout>

Purpose The <xout> statement is used to write string data to the output stream.
Format <xout processcode="{boolVal}">
   {body}
</xout>

{boolVal} (optional) a boolean value of true or false that specifies whether or not Superx++ statements enclosed in the {body} of the <xout> statement are to be processed before being written to the output stream. The default value is true
{body} the string data to be written to the output stream or a Superx++ statement that evaluates to a string
Example #1 <xout>
   Hello World!
</xout>

Prints the string Hello World! to the output stream

Example #2 <xout>Hello World!</xout>

Prints the string Hello World! to the output stream

Example #3 <xout processcode="true">
   <eval object="MyEmployee" member="GetSalary"/>
</xout>

Gets the salary from the MyEmployee object via the method GetSalary and writes the result to the output stream

Example #4 <xout processcode="">
   <eval object="MyEmployee" member="GetSalary"/>
</xout>

Gets the salary from the MyEmployee object via the method GetSalary and writes the result to the output stream

Example #5 <xout>
   <eval object="MyEmployee" member="GetSalary"/>
</xout>

Gets the salary from the MyEmployee object via the method GetSalary and writes the result to the output stream

Example #6 <xout processcode="false">
   <eval object="MyEmployee" member="GetSalary"/>
</xout>

Writes the XML element eval and its two attributes to the output stream