Using a querystring parameter in an XSLT 2.0 SQL Query
===

Here is the query that I am using. Let's assume that the URL which was used to access this page is `http://www.domain.com/default.aspx?id=3`

      <query name="SimpleQuery" rowElementName="Table" runif="showpage">
        <sql>
          <![CDATA[
            select * from Table where ID = @QueryStringID
          ]]>
        </sql>
        <queryparam paramname="@QueryStringID"       paramtype="request" requestparamname="id"        sqlDataType="int" defvalue="0"  validationpattern="" />
      </query>

So this should translate this query: `select * from Table where ID = 3`, but it is not getting the querystring parameter properly.

According to the AspDotNetStorefront documentation ([http://manual.aspdotnetstorefront.com/p-157-xml-packages.aspx][1]), the paramtype `request` can be used to access querystring variables, but I cannot figure out how.

Any help would be greatly appreciated :)

  [1]: http://manual.aspdotnetstorefront.com/p-157-xml-packages.aspx