<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Limiting number of elements displayed in a seconday data connection</title><link>https://www.infopathdev.com:443/forums/thread/107677.aspx</link><pubDate>Tue, 16 Aug 2016 15:31:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107677</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107677</wfw:commentRss><description>Something else in your form must have caused the issue - I use preceding-sibling in conditional formatting all the time in browser forms. What is the XPath expression you are trying in your condition? I&amp;#39;d expect, on the repeating table or section (if this is a SharePoint list connection - your relative XPath may be different) something like hide the row if: count(preceding-sibling::d:SharePointListItem_RW) &amp;gt; 9</description></item><item><title>Re: Limiting number of elements displayed in a seconday data connection</title><link>https://www.infopathdev.com:443/forums/thread/107676.aspx</link><pubDate>Tue, 16 Aug 2016 15:20:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107676</guid><dc:creator>blkjck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107676.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107676</wfw:commentRss><description>Hi Hilary,

first of all, thanks for the reply :)

The total scores is avaiable in the secondary DC. 
Currently I have applied descenceding sort on the &amp;quot;total scores&amp;quot; column/field in the 2°DC.

I&amp;#39;ve tried using preceding-sibling in a previous instance. That seems to make the form unusable in a browser. 
With the preceding-sibling formula, I could only use the form in Filler.

Wouldn&amp;#39;t this problem persist in your suggestion?</description></item><item><title>Re: Limiting number of elements displayed in a seconday data connection</title><link>https://www.infopathdev.com:443/forums/thread/107673.aspx</link><pubDate>Tue, 16 Aug 2016 15:06:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107673</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107673</wfw:commentRss><description>Sure - you can use conditional formatting for this. Is the total scores info in the secondary data connection, so you can sort by this when the data is returned to the form? If so, you can just use a count of the preceding sibling to hide rows after the first ten.</description></item><item><title>Limiting number of elements displayed in a seconday data connection</title><link>https://www.infopathdev.com:443/forums/thread/107672.aspx</link><pubDate>Tue, 16 Aug 2016 07:43:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107672</guid><dc:creator>blkjck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107672</wfw:commentRss><description>Hi guys,

I&amp;#39;m working with library forms. Can I restrict a secondary data connection element to show me only the top 10 value based on some attribute?

In my case, I&amp;#39;m accessing a library containing student details via a secondary data connection.
I need to list, for e.g using a repeating table, the details of only the top 10 students based on their total scores.</description></item></channel></rss>