<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: XML Data Connection - Dynamically Change Data Source Based on User Selection</title><link>https://www.infopathdev.com:443/forums/thread/85421.aspx</link><pubDate>Tue, 18 Dec 2012 06:55:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85421</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85421.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85421</wfw:commentRss><description>&lt;p&gt;If you&amp;#39;re working with InfoPath 2010, you can probably use a REST connection to one of the XML files.&amp;nbsp; REST connection URLs can be changed dynamically using just rules.&lt;/p&gt;&lt;p&gt;If that doesn&amp;#39;t work, another option is to use an XML data connection and qRules&amp;#39; ChangeConnectionUrl command to redirect it to different places.&lt;/p&gt;</description></item><item><title>XML Data Connection - Dynamically Change Data Source Based on User Selection</title><link>https://www.infopathdev.com:443/forums/thread/82420.aspx</link><pubDate>Fri, 07 Sep 2012 09:25:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82420</guid><dc:creator>sijokj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82420</wfw:commentRss><description>Hi,

I have 100+ xml (its get increased everyday) files stored in one of my SharePoint library (all files have same structure). Now I just want to connect these XML files to my InfoPath form dynamically.

Eg. I should have a drop down field in the form to select the xml file name, based on that selection respective XML file should become the secondary data connection to InfoPath and fields should auto populate from that xml file.

Is this possible? 

Thanks in advance for your help.

- Sijo</description></item></channel></rss>