4 Output Functions

4.1 write-xml

function

write-xml :: node [port] -> void

This function is used to write XML nodes to port, if given, or to current-output-port.

4.2 display-xml

function

display-xml :: node [port] -> void

This function is used to write XML nodes to port, if given, or to current-output-port. Unlike write-xml, this function introduces additional whitespace indentation for nested elements. The primary purpose is debugging. For correct XML output, write-xml should be used.

4.3 servlet-result

function

servlet-result :: node -> list-of-strings

This function may be used in servlets to convert XML to a list-of-strings for sending to a web browser.

 

 

Last modified: Sunday, April 24th, 2005 2:52:27pm
HTML generated using WebIt!.