<?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: Can  XDocument.GetDOM("datasource") be used on a primary datasource</title><link>https://www.infopathdev.com:443/forums/thread/29827.aspx</link><pubDate>Thu, 26 Jun 2008 18:37:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29827</guid><dc:creator>shekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=29827</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Use &amp;quot;XDocument.DOM&amp;quot; to access&amp;nbsp;Primary Datasource , XDocument.GetDOM(&amp;quot;secondary data source name&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hope this helps you.&lt;/p&gt;</description></item><item><title>Can  XDocument.GetDOM("datasource") be used on a primary datasource</title><link>https://www.infopathdev.com:443/forums/thread/28919.aspx</link><pubDate>Sat, 24 May 2008 01:43:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28919</guid><dc:creator>rbowles</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=28919</wfw:commentRss><description>&lt;p&gt;Can XDocument.GetDOM(&amp;quot;datasource&amp;quot;) be used on a primary datasource? I keep getting an error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A call to XDocument.GetDOM failed. The DataObject &amp;quot;Main&amp;quot; does not exist.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If I can&amp;#39;t use it on a main how do I acomplish my task.&amp;nbsp; If it can what might I be doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;THanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Randy&lt;/p&gt;</description></item></channel></rss>