I try to send an Email by using the submit in a html Formular. The body of the Email should have XML Tags. How can I using masking to get a proper XML-File Klaus <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Formulareingaben überprüfen</title> <script type="text/javascript"> function chkFormular() { var XML_String = "<?xml version="1.0" encoding="UTF-8" ?><Feld1>" + document.Formular.Feld1.value + "</Feld1>"; document.forms["Formular"].action = "mailto:baumgart@dvberatung.com"; document.Formular.XML_IMPORT.value = XML_String; } </script> </head> <body> <h1>Formular</h1> <form name="Formular" method="post" onsubmit="chkFormular()"> <pre> XML: <input type="text" size="40" name="Feld1" onchange="chkFormular()"> <input type="hidden" size="40" name="XML_IMPORT" onchange="chkFormular()"> Formular: <input type="submit" value="Absenden"><input type="reset" value="Abbrechen"> </pre> </form> </body> </html>