<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Streamed XML data to Node Set</title><link>https://www.infopathdev.com:443/forums/thread/70139.aspx</link><pubDate>Thu, 08 Sep 2011 14:16:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70139</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70139</wfw:commentRss><description>&lt;p&gt;Creating a data source doesn&amp;#39;t require code.&amp;nbsp; You just create a file with the XML you want, and go through the data source connection wizard.&lt;/p&gt;
&lt;p&gt;In your code, you would need to use this.DataSources[&amp;quot;&lt;strong&gt;&lt;u&gt;dataSourceName&lt;/u&gt;&lt;/strong&gt;&amp;quot;].CreateNavigator() to create an &lt;a href="http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathnavigator.aspx"&gt;XPathNavigator&lt;/a&gt;, and you would use this to swap out its contents with the result of your web service call.&amp;nbsp; I&amp;#39;m afraid I don&amp;#39;t have any code samples for this.&lt;/p&gt;</description></item><item><title>Re: Streamed XML data to Node Set</title><link>https://www.infopathdev.com:443/forums/thread/70129.aspx</link><pubDate>Thu, 08 Sep 2011 13:00:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70129</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70129</wfw:commentRss><description>I&amp;#39;m using Infopath 2007, do you have any sample code (C#) I can use to import the XML as a data source?</description></item><item><title>Re: Streamed XML data to Node Set</title><link>https://www.infopathdev.com:443/forums/thread/70113.aspx</link><pubDate>Wed, 07 Sep 2011 22:07:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70113</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70113</wfw:commentRss><description>&lt;p&gt;I think the way to do this is to create an XML file with the same format as the XML you&amp;#39;re retrieving, then import that as an XML file secondary data source and use that as the source for your dropdown.&lt;/p&gt;
&lt;p&gt;Then when you call your web service, just copy the XML you receive into that data source and replace its contents.&amp;nbsp; No need to convert it into an array first.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And just FYI, InfoPath 2010 has built-in functionality for querying REST web services, if that&amp;#39;s what you&amp;#39;re using.&lt;/p&gt;</description></item><item><title>Streamed XML data to Node Set</title><link>https://www.infopathdev.com:443/forums/thread/70110.aspx</link><pubDate>Wed, 07 Sep 2011 20:31:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70110</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70110</wfw:commentRss><description>I&amp;#39;m trying to take data I have streamed from an XML source, acquired through C# code from web service not available in soap, and place that data into a node set to be used in a drop-down. I&amp;#39;ve been able to get the data from the xml and into a string array. Now I&amp;#39;m stuck and don&amp;#39;t know how to get it from the array to a node set.</description></item></channel></rss>