<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Following Expression is not valid - Node Test Expected</title><link>https://www.infopathdev.com:443/forums/thread/123168.aspx</link><pubDate>Thu, 02 Jul 2020 17:31:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123168</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=123168</wfw:commentRss><description>Try using &amp;quot;div&amp;quot; instead of the &amp;quot;/&amp;quot;... although it looks in the formula you pasted in that you have spaces before and after the &amp;quot;/&amp;quot;. Usually the issue I have is when I don&amp;#39;t have spaces, so it looks like I&amp;#39;m trying to create an XPath instead of divide :)</description></item><item><title>Following Expression is not valid - Node Test Expected</title><link>https://www.infopathdev.com:443/forums/thread/123167.aspx</link><pubDate>Thu, 02 Jul 2020 17:11:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123167</guid><dc:creator>Ghoztrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=123167</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m getting an error when trying to build an expression on one of my fields in a form. I&amp;#39;m trying to get the duration of days between two dates. The expression is below and it seems to be pointing at the number 2 at the end of the expression.
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;

concat(substring-before(., &amp;quot;;&amp;quot;) + substring-after(., &amp;quot;;&amp;quot;) * ((translate(addDays(../my:BackDateTo, substring-before(., &amp;quot;;&amp;quot;)), &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;) &amp;lt; translate(../my:EndLastBillingCycle, &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;)) * 2 - 1), &amp;quot;;&amp;quot;, substring-after(., &amp;quot;;&amp;quot;) / 2)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>