Purpose | The <getxout> statement is used to get the current contents of the output stream. In other words, it will report all the string data that was processed by the <xout> statements in a program. | |
Format | <getxout /> | |
Example #1 |
<xout>Hello World!</xout> <node name="x" processcode="true"> <getxout> </node> <xout>\r\nHello Again!</xout>
The node called x contains the value Hello World! whereas the two lines are written to the output stream: The reason for this is that the current contents of the output stream at the <getxout> statement consist of the first line only. |