<?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: Xpath and count</title><link>https://www.infopathdev.com:443/forums/thread/19123.aspx</link><pubDate>Mon, 16 Apr 2007 19:06:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19123</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19123.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19123</wfw:commentRss><description>&lt;p&gt;Hi Checco,&lt;/p&gt;&lt;p&gt;If you want to get the&amp;nbsp;&amp;#39;Causale&amp;#39; nodes then above Shiva given XPath is correct. If you want to &amp;#39;TurnoSerale&amp;#39; nodes then use the given below XPath:&lt;/p&gt;&lt;p&gt;count(../my:Persone/my:TurnoSerale[@my:Causale = &amp;quot;Turno&amp;quot;])&lt;/p&gt;&lt;p&gt;By using this XPath you can get the &amp;#39;TurnoSerale&amp;#39;&amp;#39; nodes with the &amp;#39;Causale&amp;#39; node value is equal to&amp;nbsp;&amp;#39;Turno&amp;#39;.&lt;/p&gt;</description></item><item><title>Re: Xpath and count</title><link>https://www.infopathdev.com:443/forums/thread/19115.aspx</link><pubDate>Mon, 16 Apr 2007 16:45:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19115</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19115</wfw:commentRss><description>&lt;p&gt;Hi Checco,&lt;/p&gt;&lt;p&gt;&amp;nbsp;It is possible, do like this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The syntax is :&lt;/p&gt;&lt;p&gt;count(../my:Persone/my:TurnoSerale/@my:Causale[. = &amp;quot;Turno&amp;quot;])&lt;/p&gt;&lt;p&gt;&amp;nbsp;You will get the Result.&lt;/p&gt;</description></item><item><title>Xpath and count</title><link>https://www.infopathdev.com:443/forums/thread/19110.aspx</link><pubDate>Mon, 16 Apr 2007 13:08:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19110</guid><dc:creator>checco.rossi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19110</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I want to count all attributes Causale&amp;nbsp;that contains the string &amp;quot;Turno&amp;quot;... Where is my error ?&lt;/p&gt;&lt;p&gt;count(../my:Persone/my:TurnoSerale/@my:Causale=&amp;quot;Turno&amp;quot;)&lt;/p&gt;&lt;p&gt;Is it possible to count attributes?&lt;/p&gt;&lt;p&gt;Thanks, Checco&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>