How to Use Mailto in XMLby Peter Grant
Extensible Markup Language, or XML, is a commonly used programming format that can store data used to update various website areas. XML allows developers to create uniquely structured documents with parameters and classes they can define as required. These formats include a mailto link. A mailto link in your XML data allows you to provide a link which, when clicked, launches the user's email application and automatically opens a new message window with a specified email address in the "To" field.
Open a plain text editing document or a code editing application and then open the XML file to which you wish to add a mailto parameter.
Scroll to the area in the XML file where you wish to place the mailto parameter and type the following code, inserting the email address you wish to use in place of the example one given twice:
Save the modified XML file and load it into your development environment or to your production web server to see the changes in effect.