HTML 4.01 strict HTML

Escaping XML into valid HTML

Escaping XML into valid HTML can be an error prone and expensive process. The escaped HTML is very difficult to read with the human eye and is much larger than the original XML source.

XML for <SCRIPT> attempts to resolve this situation by providing an API that will convert XML into valid HTML. This process does not escaping the XML. Instead, it replaces the XML markup tags with high ascii characters which are not likely to be found in your XML data.

NOTE: This API is fully documented in the "Documentation" -> "Tools" section of the web site.

For an example of the functionality provided by this interface, click the button below. This example is also very useful if you have XML that you wish to hard code into HTML and place on your web page.