<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SelectSingleNode does not return a value</title><link>https://www.infopathdev.com:443/forums/thread/75208.aspx</link><pubDate>Mon, 13 Feb 2012 16:46:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75208</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=75208</wfw:commentRss><description>&lt;p&gt;Are you opening in the browser?&lt;/p&gt;
&lt;p&gt;If so, you&amp;#39;ve admin approved or sandboxed your form so that your managed code will run, correct?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve never heard of publishing a form affect the namespace in a main data source and never had that happen myself, so I&amp;#39;d suspect that theory is incorrect. Are you able to see what your payeeTypedName variable contains? Perhaps consider writing that variable to a form field so you can see the value (if you are running in IPFS - otherwise, an Alert works nicely).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SelectSingleNode does not return a value</title><link>https://www.infopathdev.com:443/forums/thread/75166.aspx</link><pubDate>Fri, 10 Feb 2012 19:28:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75166</guid><dc:creator>mwhite01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=75166</wfw:commentRss><description>My Infopath 2007 form always works locally returning the vendorID of the selected value but never works after its published to the server. If SharePoint has added namespacing to the XML file how do I figure out how to navigate to the datasource now that its changed. Realize that I have no confirmation that this is happening  and would appreciate any suggestion to validation the theory. Or any suggestions on resolving such an issue.

  XPathNavigator root = MainDataSource.CreateNavigator();
  string xpath = &amp;quot;/dfs:myFields/dfs:dataFields/tns:GetVendorsResponse/&amp;quot; +
                                   &amp;quot;tns:GetVendorsResult/NewDataSet/Vendors[Name=&amp;#39;&amp;quot; + payeeTypedName + &amp;quot;&amp;#39;]/VendorID&amp;quot;;
  string vendorID = DataSources[&amp;quot;Vendors&amp;quot;].CreateNavigator().SelectSingleNode(xpath, NamespaceManager).InnerXml;

Thanks</description></item></channel></rss>