function escapeHTML( text ) {
  return text.replace( /&/g, "&amp;" )
             .replace( /</g, "&lt;" )
             .replace( />/g, "&gt;" )
             .replace( /"/g, "&quot;" )
             .replace( /'/g, "&#39;" );
}
renderJsonML( jsonml[, options] ) -> String
 - jsonml (Array): JsonML array to render to XML
 - options (Object): options

 Converts the given JsonML into well-formed XML.

 The options currently understood are:

 - root (Boolean): wether or not the root node should be included in the
   output, or just its children. The default `false` is to not include the
   root itself.