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.
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.
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.