<?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: XML relationship between sibling nodes</title><link>https://www.infopathdev.com:443/forums/thread/19684.aspx</link><pubDate>Wed, 09 May 2007 08:56:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19684</guid><dc:creator>rs200</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19684</wfw:commentRss><description>&lt;p&gt;Thanks for your replies.&lt;/p&gt;&lt;p&gt;I have found a solution. I created an external stylesheet and transform the xml by using the xsl for showing in IE.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: XML relationship between sibling nodes</title><link>https://www.infopathdev.com:443/forums/thread/19627.aspx</link><pubDate>Mon, 07 May 2007 13:19:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19627</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19627</wfw:commentRss><description>Actually, this would be pretty easy to do with just expression boxes.
&lt;br /&gt;
1. Drop the A structure on the view as a repeating table.
&lt;br /&gt;
2. Add 2 blank columns to the table (InfoPath might try to create new nodes in the data source for this, but don't let it)
&lt;br /&gt;
3. In the first column add an expression box that has an XPath like /root/SectionB/RepeatingGroupB[ ContextNamespacB = current()/NamespaceA ]/NameB
&lt;br /&gt;
4. Second column, add an expression box that has an XPath like /root/SectionB/RepeatingGroupB[ ContextNamespacB = current()/NamespaceA ]/ContextNamespacB</description></item><item><title>Re: XML relationship between sibling nodes</title><link>https://www.infopathdev.com:443/forums/thread/19621.aspx</link><pubDate>Mon, 07 May 2007 12:48:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19621</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19621</wfw:commentRss><description>&lt;p&gt;In my oppinion it will be hard if not impossible to do this with just using rules. I would suggest using some code to loop through your repeating sections coming from your main or secondary datasource, compare the two namespace fields to each other and then dynamically generate new rows for a third repeating&amp;nbsp;table filling it with either both name values if the namespaces are identical or only with nameA. Just search for &amp;quot;loop through repeating sections&amp;quot; and similar expressions in the forum and you should find what you need.&lt;/p&gt;&lt;p&gt;If you need more help let me know.&lt;/p&gt;</description></item><item><title>XML relationship between sibling nodes</title><link>https://www.infopathdev.com:443/forums/thread/19615.aspx</link><pubDate>Mon, 07 May 2007 08:40:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19615</guid><dc:creator>rs200</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19615</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I have following xml structure:&lt;br /&gt;&amp;lt;root&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SectionA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameA&amp;gt;A1&amp;lt;/NameA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NamespaceA&amp;gt;NS1&amp;lt;/NamespaceA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameA&amp;gt;A2&amp;lt;/NameA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NamespaceA&amp;gt;NS2&amp;lt;/NamespaceA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameA&amp;gt;A3&amp;lt;/NameA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NamespaceA&amp;gt;NS3&amp;lt;/NamespaceA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/SectionA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SectionB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameB&amp;gt;B1&amp;lt;/NameB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ContextNamespacB&amp;gt;NS1&amp;lt;/ContextNamespacB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameB&amp;gt;B2&amp;lt;/NameB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ContextNamespacB&amp;gt;&amp;lt;/ContextNamespacB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NameB&amp;gt;B2&amp;lt;/NameB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ContextNamespacB&amp;gt;NS3&amp;lt;/ContextNamespacB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RepeatingGroupB&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/SectionB&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;&lt;br /&gt;In a table all elements &lt;em&gt;NameA &lt;/em&gt;should be shown and the elements &lt;em&gt;NameB&lt;/em&gt; where the namespace is the same. If &lt;em&gt;NameA&lt;/em&gt; has no matched &lt;em&gt;NameB &lt;/em&gt;about the namespace then &lt;em&gt;NameB &lt;/em&gt;will be shown as empty field.&lt;br /&gt;&lt;br /&gt;Sample table:&lt;br /&gt;NameA&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; | NameB&amp;nbsp;&amp;nbsp; | Namespace&lt;br /&gt;=================================&lt;br /&gt;A1&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | B1&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; | NS1&lt;br /&gt;A2&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | empty &amp;nbsp;&amp;nbsp; | no Namespace&lt;br /&gt;A3&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; | B2&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; | NS3&lt;br /&gt;&lt;br /&gt;How can I implement this with rules and filters (using XPath) without coding?</description></item></channel></rss>