Remove saved XML file comments

J

jfrank

I've created an InfoPath form to store my XML data. When I fill out a
form, I get the XML file I want. However, there is the following code
at the top:

<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution
productVersion="11.0.6357" PIVersion="1.0.0.0" href="file:///file.xsn"
name="urn:schemas-microsoft-com:eek:ffice:infopath:DNN:" language="en-us"
solutionVersion="1.0.0.9" ?><?mso-application
progid="InfoPath.Document"?><Objects
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-12-28T21:07:15"
xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">

For my application, I don't need any of the <?> information or the
attributes in the <objects> element. Is there a way to prevent
InfoPath from saving this information?
 
V

virgul

Hi

Why you want to delete this instruction don't occupate about this! PI
can't do an error so why want to delete him?
 
J

jfrank

As it turns out, I was able to leave those instructions in without any
damage to the application. I thought they needed to be deleted to
validate with the web application that I am using. Thanks for your
help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top