<?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: how to solve the problem with xpath</title><link>https://www.infopathdev.com:443/forums/thread/3844.aspx</link><pubDate>Thu, 18 Jan 2007 00:39:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3844</guid><dc:creator>smileforest</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3844</wfw:commentRss><description>thanks Shiva and nukkumatti,yes,nukkumatti u are right,but the problem is how to find the previous node which is giving me the max time value?? i don't know how to write the correct xpath code.    can u give me a hand??&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by nukkumatti&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Shiva,&lt;br /&gt;&lt;br /&gt;I guess that his time calculation is already working and he want to receive now the person matich the maximum time value.&lt;br /&gt;&lt;br /&gt;Smileforest: If I am correct you just need to pick then the value from the previous node which is giving you the max time value.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: how to solve the problem with xpath</title><link>https://www.infopathdev.com:443/forums/thread/3843.aspx</link><pubDate>Wed, 17 Jan 2007 16:04:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3843</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3843</wfw:commentRss><description>Hi Shiva,&lt;br /&gt;&lt;br /&gt;I guess that his time calculation is already working and he want to receive now the person matich the maximum time value.&lt;br /&gt;&lt;br /&gt;Smileforest: If I am correct you just need to pick then the value from the previous node which is giving you the max time value.</description></item><item><title>Re: how to solve the problem with xpath</title><link>https://www.infopathdev.com:443/forums/thread/3842.aspx</link><pubDate>Wed, 17 Jan 2007 11:49:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3842</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3842</wfw:commentRss><description>Hi smileforest,&lt;br /&gt;&lt;br /&gt;Your xpath is correct to find the maximum value from time field. Can you tell me the ‘time#%92 field data type? Math.Max will return the largest value of all the numerical elements in a node set. If your ‘time#%92 data type is integer or double it works correctly.</description></item><item><title>how to solve the problem with xpath</title><link>https://www.infopathdev.com:443/forums/thread/1799.aspx</link><pubDate>Wed, 17 Jan 2007 07:52:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1799</guid><dc:creator>smileforest</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1799</wfw:commentRss><description>HI, is there anyone can help me?&lt;br /&gt;here is a xml piece: &lt;br /&gt;&amp;lt;my:group1&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;my:group2&amp;gt;&lt;br /&gt;&amp;lt;my:time&amp;gt;20070101&amp;lt;/my:time&amp;gt;&lt;br /&gt;&amp;lt;my:person&amp;gt;1&amp;lt;/my:person&amp;gt;&lt;br /&gt;&amp;lt;/my:group2&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;my:group2&amp;gt;&lt;br /&gt;&amp;lt;my:time&amp;gt;20070116&amp;lt;/my:time&amp;gt;&lt;br /&gt;&amp;lt;my:person&amp;gt;16&amp;lt;/my:person&amp;gt;&lt;br /&gt;&amp;lt;/my:group2&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/my:group1&amp;gt;&lt;br /&gt;i use an expression box to find the latest time in my repeating table with xpath code: xdMath:Max(my:group1/my:group2/my:time),how to find the responseable person field which has the latest time field??&lt;br /&gt;&lt;br /&gt;thanks a lot!!</description></item></channel></rss>