<?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: Searching in a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/125677.aspx</link><pubDate>Thu, 23 Oct 2025 18:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125677</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=125677</wfw:commentRss><description>I think part of your XPath got cut off, but I use filtered count XPaths for this kind of thing, too, sometimes, or the boolean function - for example, this returns true if there a no instances of the group where both of these fields are blank: boolean(not(my:group1/my:group2[my:field1 = &amp;quot;&amp;quot; or my:field2 = &amp;quot;&amp;quot;]))</description></item><item><title>Searching in a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/125674.aspx</link><pubDate>Thu, 23 Oct 2025 14:25:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125674</guid><dc:creator>sbhunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=125674</wfw:commentRss><description>For submission validation, I want to be able to test all occurrences of a repeating section to see if any meet a certain criteria: for example, do any of the dropdowns not have a selection, or do any numeric fields have a negative value.

The best I&amp;#39;ve come up with is:

    count(xdXDocument:get-DOM()/my:myFields/my:Item[current()/my:Item_Name != &amp;quot;&amp;quot;])
    count(xdXDocument:get-DOM()/my:myFields/my:Item[current()/my:Item_Quantity</description></item></channel></rss>