Specifying Report Parameters in XQuery

How do we represent input parameters for a report in an XQuery based dataset ? I looked at some inbuilt reports, and saw how the report parameter and dataset paramater is added, but i fail to understand how these parameters are specified in the XQuery syntax.

Thanks,
Janardan.