<?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: set namspace property for 2nd datasource in c#</title><link>https://www.infopathdev.com:443/forums/thread/15088.aspx</link><pubDate>Sat, 10 Feb 2007 00:37:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15088</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15088</wfw:commentRss><description>Great! Glad to hear you got it solved!</description></item><item><title>Re: set namspace property for 2nd datasource in c#</title><link>https://www.infopathdev.com:443/forums/thread/15087.aspx</link><pubDate>Fri, 09 Feb 2007 21:42:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15087</guid><dc:creator>jackinthegreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15087</wfw:commentRss><description>Thanks Greg! I actually stumbled across this solution on msdn right after I posted and it's working great. Cheers!</description></item><item><title>Re: set namspace property for 2nd datasource in c#</title><link>https://www.infopathdev.com:443/forums/thread/15086.aspx</link><pubDate>Fri, 09 Feb 2007 20:38:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15086</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15086</wfw:commentRss><description>This works in C#, but you need to be using an IXMLDOMDocument2 (or 3) as the regular IXMLDOMDocument does not contain the setProperty method.</description></item><item><title>set namspace property for 2nd datasource in c#</title><link>https://www.infopathdev.com:443/forums/thread/13053.aspx</link><pubDate>Fri, 09 Feb 2007 19:37:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13053</guid><dc:creator>jackinthegreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13053</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I found Matt's great jscript example for setting the SelectionNamespaces property for the secondary datasource DOM:&lt;br /&gt;&lt;br /&gt;XDocument.GetDOM( "Name of your secondary data source" ).setProperty( "SelectionNamespaces" , 'xmlns:ns1="Text obtained from Figure 2" xmlns:ns2="Another namespace"' );&lt;br /&gt;&lt;br /&gt;Is there an equivalent method to accomplish this in IP 2003 c# managed code?&lt;br /&gt;&lt;br /&gt;Many thanks in advance for any tips!! &lt;br /&gt; &lt;br /&gt;</description></item></channel></rss>