<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filled Infopath Form - Order of XML elements</title><link>https://www.infopathdev.com:443/forums/thread/37826.aspx</link><pubDate>Thu, 29 Jan 2009 08:02:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37826</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37826</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This is hard to find out what are the elements are missed up in your existing xml file. For this we can try one thing in code, try to open the existing xml file then it will give error message where schema structure is invalid node. Then we have to change that order but this is not a suggestible method.&lt;/p&gt;</description></item><item><title>Re: Filled Infopath Form - Order of XML elements</title><link>https://www.infopathdev.com:443/forums/thread/37783.aspx</link><pubDate>Wed, 28 Jan 2009 14:48:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37783</guid><dc:creator>crishna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37783</wfw:commentRss><description>&lt;p&gt;Hello Shiva,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you very much for the reply. let me clearly explain my situation.&lt;/p&gt;
&lt;p&gt;Imagine there being a Infopath form created. Now when you input data in that and save that an XML is being created. Now I am creating these xml&amp;#39;s ( some thousands with the values in the database).&lt;/p&gt;
&lt;p&gt;Those created xml&amp;#39;s refer to the main template infopath but the order of elements is being messed up. So I am trying to see if there is any way we can bypass the sitaution to see if Infopath can recognize the elemetns what ever the order they are in.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any Help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gopi&lt;/p&gt;</description></item><item><title>Re: Filled Infopath Form - Order of XML elements</title><link>https://www.infopathdev.com:443/forums/thread/37747.aspx</link><pubDate>Wed, 28 Jan 2009 03:55:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37747</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37747.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37747</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can have same order of elements available in template.xml file. If we change the any order or elements then it should not open. If you want to do in code then try to open that xml then it will give error message. You have to add the try and catch method then you have to show the message in catch block. &lt;/p&gt;</description></item><item><title>Filled Infopath Form - Order of XML elements</title><link>https://www.infopathdev.com:443/forums/thread/37735.aspx</link><pubDate>Tue, 27 Jan 2009 21:03:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37735</guid><dc:creator>crishna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37735</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am very new to Infopath forms and I have a question. I will explain what I am trying to do and the problem I am running into.&lt;/p&gt;
&lt;p&gt;We currently have a application which would get responses from the user. This application is been replaced by Infopath forms. But the old application responses are to be supported. So I wrote a script which would generate responses for a particular respective forms which are nothing but XML files.&lt;/p&gt;
&lt;p&gt;Problem is that the when I open the XML I get an error saying that &amp;quot;Element XXXX is not expected&amp;quot;. After lot of time I figured out that the problem was because of order of elements in xml. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there any way we can avoid this problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help please?&lt;/p&gt;</description></item></channel></rss>