<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/42155.aspx</link><pubDate>Wed, 27 May 2009 13:55:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42155</guid><dc:creator>yo_pb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42155</wfw:commentRss><description>&lt;p&gt;Makes sense.&amp;nbsp; Thanks again Swathip.&lt;/p&gt;</description></item><item><title>Re: Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/42100.aspx</link><pubDate>Wed, 27 May 2009 05:19:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42100</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42100</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;../ means the parent node of the current node. Here &amp;nbsp;../../ means the parent of parent of the current node. &amp;nbsp;For example, now you are at field3 and ../../ gives the group2 node.&lt;/p&gt;</description></item><item><title>Re: Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/42077.aspx</link><pubDate>Tue, 26 May 2009 19:33:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42077</guid><dc:creator>yo_pb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42077.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42077</wfw:commentRss><description>&lt;p&gt;Swathip - that worked.&amp;nbsp; Thanks for taking the time to read and respond to my post.&lt;/p&gt;
&lt;p&gt;One more thing - I haven&amp;#39;t found much on the &amp;#39;previous-sibling&amp;#39; command, can you explain what the &amp;quot;../../&amp;quot; at the beginning does?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Pat&lt;/p&gt;</description></item><item><title>Re: Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/42063.aspx</link><pubDate>Tue, 26 May 2009 14:29:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42063</guid><dc:creator>yo_pb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42063</wfw:commentRss><description>&lt;p&gt;I will give it a try.&amp;nbsp; Thanks!&lt;/p&gt;</description></item><item><title>Re: Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/42026.aspx</link><pubDate>Mon, 25 May 2009 10:50:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42026</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42026</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use the expression like,&lt;/p&gt;
&lt;p&gt;../../preceding-sibling::my:group2[1]/my: group3/my:field3&lt;/p&gt;</description></item><item><title>Preceding-sibling sub-path</title><link>https://www.infopathdev.com:443/forums/thread/41962.aspx</link><pubDate>Fri, 22 May 2009 15:01:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41962</guid><dc:creator>yo_pb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41962</wfw:commentRss><description>&lt;p&gt;I have a form with a master/detail section. In the repeating table I have a section with contains 2 fields (I put it in a section so that I can hide the section if certain conditions are met).&amp;nbsp; The section contains a drop-down and a check-box.&amp;nbsp; If the person checks the box then it should set the drop-down equal to the preceding value.&amp;nbsp; I can get it to work if I don&amp;#39;t put the fields into a section.&amp;nbsp;&amp;nbsp;The section adds a sub-group to the repeating group:&lt;/p&gt;
&lt;p&gt;myFields&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group2 (repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;field2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;group3 (the section&amp;nbsp;/ sub-group to the repeating group)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;field3 (the drop-down)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field4 (the check-box)&lt;/p&gt;
&lt;p&gt;I have a rule added to the check-box so that if selected it should set the current field equal to the preceding but nothing happens (I&amp;#39;m sure it is because I need to modify the xpath to account for the sub-group).&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t use the section to hold the fields then &amp;quot;preceding-sibling::my:group2[1]/my:field3&amp;quot; works&amp;nbsp;fine.&amp;nbsp; How do I modify it to account for when the field is a level deeper?&lt;/p&gt;
&lt;p&gt;Sorry if this is lengthy or confusing.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;Pat&lt;/p&gt;</description></item></channel></rss>