<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SharePoint XSL problem</title><link>https://www.infopathdev.com:443/forums/thread/53160.aspx</link><pubDate>Fri, 26 Mar 2010 18:48:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53160</guid><dc:creator>ben.oates</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=53160</wfw:commentRss><description>&lt;p&gt;Ok... I have added the xsl:param RowFilter further up and now the error message is:&lt;/p&gt;
&lt;p&gt;&amp;quot;XSLT transform failed : 0x80004005 : Reference to variable or parameter &amp;#39;Rows&amp;#39; must evaliate to a node list.&amp;quot;&lt;/p&gt;</description></item><item><title>SharePoint XSL problem</title><link>https://www.infopathdev.com:443/forums/thread/53159.aspx</link><pubDate>Fri, 26 Mar 2010 18:43:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53159</guid><dc:creator>ben.oates</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=53159</wfw:commentRss><description>&lt;p&gt;Now I know this is an Infopath site but the people on here are so brilliant with XSL and XML I thought I would try this one anyway.&lt;/p&gt;
&lt;p&gt;I am trying to filter a data view web part in SharePoint 2003 but only when the filter is actually populated.&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:choose&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:when test=&amp;quot;boolean($FilterFirstLetter)&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:variable name=&amp;quot;RowFilter&amp;quot;&amp;gt;/dsQueryResponse/Rows/Row[substring(@Title,1,1)=$FilterFirstLetter]&amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:variable name=&amp;quot;RowFilter&amp;quot;&amp;gt;/dsQueryResponse/Rows/Row&amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;&amp;lt;/xsl:choose&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:variable name=&amp;quot;Rows&amp;quot; select=&amp;quot;$RowFilter&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;This is my attempt so far. $FilterFirstLetter is a parameter passed in the URL and I know that works because with the following on its own&amp;nbsp;I can filter the list:&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:variable name=&amp;quot;Rows&amp;quot; select=&amp;quot;/dsQueryResponse/Rows/Row[substring(@Title,1,1)=$FilterFirstLetter]&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I want the list to show everything when the filter is empty. Do you have any ideas please? The error I get is &amp;quot;Failed setting processor stylesheet : 0x80004005 : A reference to variable or parameter &amp;#39;RowFilter&amp;#39; cannot be resolved. The variable or parameter may not be defined, or it may not be in scope.&lt;/p&gt;</description></item></channel></rss>