I would like to insert the following two meta tags "<?xml version="1.0"
encoding="UTF-8"?><!DOCTYPE DMConnect SYSTEM "dmconnect.dtd">"before the base
element in my xml forms generated by infopath instead of the 3 "<?xml
version="1.0" encoding="UTF-8"?><?mso-infoPathSolution
XXXXXXXX?><?mso-application progid="InfoPath.Document"?>"that usually appear
in it. Is there any way to do this?
Submit with Custom Metadata Form - 20 Mar 2006 03:36 GMT
var content = XDocument.DOM.xml; // Read the content of existing XML file.
content.replace("<?xml version=\"1.0\" encoding...", "<Your own metadata>");
// Then, save content to an XML file.