<?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: Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/8909.aspx</link><pubDate>Fri, 27 Jan 2006 17:30:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8909</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8909</wfw:commentRss><description>Weird, I found the same thing at&lt;a target="_blank" href=http://www.w3.org/TR/xpath&gt;http://www.w3.org/TR/xpath&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;But, I did get a sample form running. If you e-mail me your e-mail address (it hides it on the forum), I can e-mail this sample form to you.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/8908.aspx</link><pubDate>Fri, 27 Jan 2006 16:55:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8908</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8908</wfw:commentRss><description>Hi Matt,&lt;br /&gt;it doesn't work. I read that in the result os preceding there are no attributes, but only elements.&lt;br /&gt;I think that this line is correct:&lt;br /&gt;&lt;pre&gt;not(../my:Parent/@my:RepElem1=../preceding::my:Parent/@my:RepElem1)&lt;/pre&gt;&lt;br /&gt;but proceding doesn't include the attribute nodes. Please, any help is welcomed :) Thank u.</description></item><item><title>Re: Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/8907.aspx</link><pubDate>Fri, 27 Jan 2006 16:54:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8907</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8907</wfw:commentRss><description>Marco,&lt;br /&gt;&lt;br /&gt;Sorry for the mistake, but I did some experimenting in InfoPath and got the following XPath to work:&lt;br /&gt;&lt;br /&gt;not(. = preceding::my:NameOfElement/@my:NameOfAttribute)&lt;br /&gt;&lt;br /&gt;You are doing this via the 'Filter Data' and evaluating 'The Expression', correct?  I just setup a sample form using the above XPath and it populated my drop-down list with unique attributes of a repeating element.&lt;br /&gt;&lt;br /&gt;I hope this helps!&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/8906.aspx</link><pubDate>Fri, 27 Jan 2006 14:41:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8906</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8906</wfw:commentRss><description>That's not a correct XPath string, Matt :(</description></item><item><title>Re: Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/8905.aspx</link><pubDate>Fri, 27 Jan 2006 14:31:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8905</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8905</wfw:commentRss><description>*editted to clear confusion*&lt;br /&gt;&lt;br /&gt;not(. = preceding::my:NameOfElement/@my:NameOfAttribute)&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Expression with attributes</title><link>https://www.infopathdev.com:443/forums/thread/5304.aspx</link><pubDate>Fri, 27 Jan 2006 11:58:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5304</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5304</wfw:commentRss><description>Hi all, in a dropdownlist to filter duplicate values I used &lt;br /&gt;&lt;pre&gt;not(my:RepElem1 = preceding::my:RepElem1)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and it works fine. Now Node1 became an attribute. I tried to write:&lt;br /&gt;&lt;pre&gt;not(@my:RepElem1 = preceding::@my:RepElem1)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;but this expression is not accepted.&lt;br /&gt;So I tried:&lt;br /&gt;&lt;pre&gt;not(../my:Parent/@my:RepElem1 = ../preceding::my:Parent/@my:RepElem1)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;but it doesn't filter anything. &lt;br /&gt;Does it happen becouse "preceeding" is not available for attributes?How can I sort my ddl?Any suggestions?&lt;br /&gt;&lt;br /&gt;Thank u.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>