<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: filtering selectnodes in vbscript</title><link>https://www.infopathdev.com:443/forums/thread/25404.aspx</link><pubDate>Fri, 04 Jan 2008 09:34:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25404</guid><dc:creator>garciaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25404</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you all, for you responses, I&amp;#39;ll try to solve my problem&lt;br /&gt;&lt;/p&gt;&lt;p&gt;and happy new year from France&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filtering selectnodes in vbscript</title><link>https://www.infopathdev.com:443/forums/thread/25376.aspx</link><pubDate>Thu, 03 Jan 2008 16:18:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25376</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25376</wfw:commentRss><description>&lt;p&gt;Also, here is a great tutorial on formulating XPaths: &lt;a href="http://www.w3schools.com/xpath/"&gt;http://www.w3schools.com/xpath/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: filtering selectnodes in vbscript</title><link>https://www.infopathdev.com:443/forums/thread/25375.aspx</link><pubDate>Thu, 03 Jan 2008 16:17:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25375</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25375.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25375</wfw:commentRss><description>&lt;p&gt;Hi garciaj,&lt;/p&gt;
&lt;p&gt;I would need to see a screenshot of your schema to be 100% sure, but this should be what you are looking for:&lt;/p&gt;
&lt;p&gt;&amp;quot;/my:Liste[ my:department = &amp;#39;55&amp;#39; ]&amp;quot;&lt;/p&gt;</description></item><item><title>filtering selectnodes in vbscript</title><link>https://www.infopathdev.com:443/forums/thread/25251.aspx</link><pubDate>Fri, 21 Dec 2007 09:36:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25251</guid><dc:creator>garciaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25251</wfw:commentRss><description>&lt;p&gt;Hy,&lt;/p&gt;&lt;p&gt;I know how to build a loop structure whith &amp;quot;for each&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But, il don&amp;#39;t how to specify a condition in the selectnodes xpath expression.&lt;/p&gt;&lt;p&gt;For example&amp;nbsp; :&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;xml structure&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;/Liste&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; department&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;&amp;nbsp;Vbscript&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;dim vDepart&lt;/p&gt;&lt;p&gt;vDepart = &amp;quot;55&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;set Liste=XDocument.DOM.selectNodes(&amp;quot;//my:DOM_Liste&amp;quot;) &lt;/p&gt;&lt;p&gt;&amp;nbsp;I want to add a filter expression [...] at the end to get all nodes whith department = &amp;quot;55&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thank you&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>