<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filling expressionbox with data from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/21145.aspx</link><pubDate>Fri, 22 Jun 2007 09:25:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21145</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21145</wfw:commentRss><description>&lt;p&gt;Found it myself:&lt;/p&gt;&lt;p&gt;Changed the Xpath expression to&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Approvers&amp;quot;)/dfs:myFields/dfs:dataFields/d:LOCALSALES_APPROVERS/@EmployeeEmail[../@EmployeeID = current()/@Approved_by1]&lt;/p&gt;&lt;p&gt;and now it works!&lt;/p&gt;</description></item><item><title>Filling expressionbox with data from secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/21141.aspx</link><pubDate>Fri, 22 Jun 2007 07:30:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21141</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21141</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;&lt;p&gt;I am trying to fill an expression box with an email address. The email address can be found in a secondary data source. the Xpath expression I entered can be found below. Although each employee that can be chosen from a dropdown box has a valid email address filled in, I am not getting any value in expression box&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Approvers&amp;quot;)/dfs:myFields/dfs:dataFields/d:LOCALSALES_APPROVERS/@EmployeeEmail[../@EmployeeID = current()/my:Approved_by1]&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any help will be highly appriciated&lt;/p&gt;</description></item></channel></rss>