<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Read InfoPath'07 XML using MSXML2 &amp; VBA</title><link>https://www.infopathdev.com:443/forums/thread/46851.aspx</link><pubDate>Thu, 10 Sep 2009 15:53:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46851</guid><dc:creator>dpenny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46851</wfw:commentRss><description>&lt;p&gt;I got around my problem by letting MS Word navigate to &amp;amp; open directly the Infopath07 form. Then in VBA pick up the XPATHs to the data wanted by using the PRIVATE fields to specify the XPATHs. Then get the text data from the open Infopath form and plunk it into the Word template. The hardest part was handling repeating table rows from Infopath form.&lt;/p&gt;</description></item><item><title>Re: Read InfoPath'07 XML using MSXML2 &amp; VBA</title><link>https://www.infopathdev.com:443/forums/thread/46849.aspx</link><pubDate>Thu, 10 Sep 2009 15:39:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46849</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46849</wfw:commentRss><description>&lt;p&gt;It might be helpful if you post your code...&lt;/p&gt;</description></item><item><title>Re: Read InfoPath'07 XML using MSXML2 &amp; VBA</title><link>https://www.infopathdev.com:443/forums/thread/46835.aspx</link><pubDate>Thu, 10 Sep 2009 11:38:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46835</guid><dc:creator>petebetelgeuse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46835</wfw:commentRss><description>Hi

Just run into the same problem;I haven&amp;#39;t solved it, but made some headway. First, it seems inconsistent between users (code works ok on my machine, but not others) - I&amp;#39;ve tried different versions of the Microsoft XML dll via VBA references, to no avail

Interestingly, I can stop the error by opening the xml file in notepad and removing the  line in standard infopath header as shown below (though this is by no means a fix - infopath just replaces the deleted line whenever the form is re-edited)






.....</description></item><item><title>Read InfoPath'07 XML using MSXML2 &amp; VBA</title><link>https://www.infopathdev.com:443/forums/thread/41448.aspx</link><pubDate>Fri, 08 May 2009 19:16:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41448</guid><dc:creator>dpenny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41448</wfw:commentRss><description>&lt;p&gt;How do I read and parse (select single node....) the Infopath&amp;#39;07 XML (data only) files using MSXML2 and VBA? I seem to be able to navigate and load the XML from SharePoint form lib but get a&amp;nbsp;load error &amp;quot;only one top level element is allowed in an XML document.&amp;quot;&lt;/p&gt;
&lt;p&gt;Is it a valid XML file? The elements with no data&amp;nbsp;are like: &amp;lt;my:WrittenBy1 /&amp;gt; Is there a different problem?&lt;/p&gt;</description></item></channel></rss>