<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Help with XPATH / XSLT (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/430391-help-with-xpath--xslt/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Help with XPATH / XSLT (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/</link></image><description>Help with XPATH / XSLT</description><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/</link><language>en-us</language><pubDate>Tue, 30 Sep 2008 04:43:22 GMT</pubDate><lastBuildDate>Tue, 30 Sep 2008 04:43:22 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: Re: Re: Help with XPATH / XSLT</title><description>Nevermind, I got it using &amp;amp;lt;= '10'. Thank you for your second post though, really helped me out. :-D&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430396</link><pubDate>Tue, 30 Sep 2008 04:42:58 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430396</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430396/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Nevermind, I got it using &amp;amp;lt;= '10'. Thank you for your second post though, really helped me out. :-D</evnet:previewtext><dc:creator>VB Man</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430396/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Help with XPATH / XSLT</title><description>Well, that's obviously not going to match the element from your original post since that child is 10, which is not less than 10.&lt;BR&gt;&lt;BR&gt;A little more context would be nice, such as the entire XML document and style sheet.</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430395</link><pubDate>Tue, 30 Sep 2008 04:39:45 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430395</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430395/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Well, that's obviously not going to match the element from your original post since that child is 10, which is not less than 10.A little more context would be nice, such as the entire XML document and style sheet.</evnet:previewtext><dc:creator>Sven Groot</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430395/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Help with XPATH / XSLT</title><description>Hm I tried that but it's still not working.&lt;br&gt;&lt;br&gt;&amp;lt;xsl:if test="//child[@firstname='smith']/@age &amp;amp;lt; 10"&amp;gt;&lt;br&gt;&amp;lt;xsl:text&amp;gt;User under 10 years of age&amp;lt;/xsl:text&amp;gt;&lt;br&gt;&amp;lt;/xsl:if&amp;gt;&lt;br&gt;&lt;br&gt;It's not showing User under 10 years of age but it is in the xml. Any suggestions?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430394</link><pubDate>Tue, 30 Sep 2008 04:33:28 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430394</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430394/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hm I tried that but it's still not working.&amp;lt;xsl:if test="//child[@firstname='smith']/@age &amp;amp;lt; 10"&amp;gt;&amp;lt;xsl:text&amp;gt;User under 10 years of age&amp;lt;/xsl:text&amp;gt;&amp;lt;/xsl:if&amp;gt;It's not showing User under 10 years of age but it is in the xml. Any suggestions?</evnet:previewtext><dc:creator>VB Man</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430394/Trackback.aspx</trackback:ping></item><item><title>Re: Help with XPATH / XSLT</title><description>If for example you want to select it by firstname:&lt;BR&gt;&lt;BR&gt;//child[@firstname='smith']/@age&lt;BR&gt;&lt;BR&gt;(Note that this searches all child elements in the document. You might want something more precise than using // at the start)</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430392</link><pubDate>Tue, 30 Sep 2008 04:20:59 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430391-Help-with-XPATH--XSLT/?CommentID=430392</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430392/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>If for example you want to select it by firstname://child[@firstname='smith']/@age(Note that this searches all child elements in the document. You might want something more precise than using // at the start)</evnet:previewtext><dc:creator>Sven Groot</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430392/Trackback.aspx</trackback:ping></item></channel></rss>