<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19673.aspx</link><pubDate>Tue, 08 May 2007 14:47:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19673</guid><dc:creator>sambati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19673</wfw:commentRss><description>&lt;p&gt;This solution may not work for the following scenario:&lt;/p&gt;&lt;p&gt;1) Publish form that has &amp;lt;MySection&amp;gt;&amp;lt;MyFormElement1 /&amp;gt;&amp;lt;/ MySection&amp;gt;&lt;/p&gt;&lt;p&gt;2) Create a form MyForm1.xml using the above form&lt;/p&gt;&lt;p&gt;3) Modify the schema to add new element to MySection i.e. &amp;lt;MySection&amp;gt;&amp;lt;MyFormElement1 /&amp;gt;&amp;lt;MyFormElement2 /&amp;gt;&amp;lt;/ MySection&amp;gt;&lt;/p&gt;&lt;p&gt;4) Open MyForm1.xml to fill in data for MyFormElement2 but it is not possible as the element is grayed out or disabled.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;How can I enable MyFormElement2 in MyForm1.xml so that user can fill in value?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19642.aspx</link><pubDate>Mon, 07 May 2007 21:37:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19642</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19642</wfw:commentRss><description>For sections, you can specify not to include the XML by default from within their properties dialog box.  Try checking there.</description></item><item><title>Re: Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19638.aspx</link><pubDate>Mon, 07 May 2007 20:21:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19638</guid><dc:creator>sambati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19638</wfw:commentRss><description>&lt;p&gt;Hi Matt,&lt;/p&gt;&lt;p&gt;This is a great solution. However, the fields that are not included by default in the form&amp;#39;s XML are grayed out and I can&amp;#39;t enter the values for them. Am I missing something.&lt;/p&gt;&lt;p&gt;Thanks for your reply.&lt;/p&gt;&lt;p&gt;Srini&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19600.aspx</link><pubDate>Sun, 06 May 2007 03:19:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19600</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19600</wfw:commentRss><description>Hi Srini,
&lt;br /&gt;&lt;br /&gt;
You can do this in code as Shiva has suggested, but you can also do it from a dialog box within the designer.  From the Tools menu, select Form Options. On the General tab, click Edit Default Values.  From here, deselect any of the nodes that you do not want to be included by default in the form's XML.</description></item><item><title>Re: Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19587.aspx</link><pubDate>Fri, 04 May 2007 14:01:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19587</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19587.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19587</wfw:commentRss><description>&lt;p&gt;Hi sambati,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Removing the nodes through code is possible but if you delete all nodes with out have atleast one, hope will make problem while opening next time. Because in the schema&amp;nbsp;the element&amp;nbsp;will be available and in the xml will not.&lt;/p&gt;&lt;p&gt;Any way try once by deleting the node with sample.&lt;/p&gt;</description></item><item><title>Remove nodes with default value</title><link>https://www.infopathdev.com:443/forums/thread/19537.aspx</link><pubDate>Wed, 02 May 2007 19:55:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19537</guid><dc:creator>sambati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19537.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19537</wfw:commentRss><description>&lt;p&gt;Is there a way to remove the optional nodes with default values while saving the Infopath form?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thanks&lt;/p&gt;&lt;p&gt;Srini&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>