Create An SVG & XML file At Server

This builds two new 'empty' files at the server, using Server.CreateObject("Msxml2.DOMDocument.6.0") to initiate each file at the server. The header for the XML file uses createProcessingInstruction. The header for the SVG file uses createElement for the svg file.
Scenerio:
Send a request to the server to create two(2) files: an XML file and an SVG file. File names requested:

XML File:
SVG File:



XML file: R5_xml.xml

SVG file: R5_svg.svg
SVG Source:
Javascript:

Classic Asp file: R5_createFiles.asp
OK in:IE11/CH41/FF35