<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Populating Fields from DD List</title><link>https://www.infopathdev.com:443/forums/thread/11823.aspx</link><pubDate>Wed, 14 Jun 2006 21:10:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11823</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11823.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11823</wfw:commentRss><description>What guess was correct?  To provide a tree, you can just do it in text kind of like I did it above.&lt;br /&gt;&lt;br /&gt;Also - your drop-down list uses the ID field as the "value" right? Make sure that your display name is "Title".</description></item><item><title>Re: Populating Fields from DD List</title><link>https://www.infopathdev.com:443/forums/thread/11822.aspx</link><pubDate>Wed, 14 Jun 2006 20:02:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11822</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11822</wfw:commentRss><description>Matt, your guess is correct. I've copied you xpath statement without any success. How can I provide a tree of my data source?&lt;br /&gt;Dean</description></item><item><title>Re: Populating Fields from DD List</title><link>https://www.infopathdev.com:443/forums/thread/11821.aspx</link><pubDate>Wed, 14 Jun 2006 19:24:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11821</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11821</wfw:commentRss><description>Could you provide a tree of your data source? I think it looks like this:&lt;br /&gt;&lt;br /&gt;Cost_Code&lt;br /&gt;--Cost_Code&lt;br /&gt;--ID&lt;br /&gt;--Title&lt;br /&gt;&lt;br /&gt;And if so, you're XPath should be this:&lt;br /&gt;&lt;br /&gt;xdXDocument:GetDOM("Cost Code")/dfs:myFields/dfs:dataFields/dfs:Cost_Code/@Cost_Code[../@ID = current()]</description></item><item><title>Populating Fields from DD List</title><link>https://www.infopathdev.com:443/forums/thread/11689.aspx</link><pubDate>Wed, 14 Jun 2006 18:25:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11689</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11689</wfw:commentRss><description>I'm trying to populate a field with data that is in columns available from a secondary source coming from SharePoint. DataSource has 3 columns: ID, Cost_Code &amp; Title. Dropdown shows Cost Code and text box should display Title. Using a rule to set the fields value with the following xpath expression:&lt;br /&gt;xdXDocument:GetDOM("Cost Code")/dfs:myFields/dfs:dataFields/dfs:Cost_Code/@Cost_Code[ID = current()]&lt;br /&gt;Could someone please tell me what I am doing wrong?</description></item></channel></rss>