Using page parameter in XPath constraint

I implemented a page containing a list view and also taking a  parameter(string or object).  I would like to use the  parameter in the XPath constraint which serves as the data source of the list view. Is it possible?  Thanks for any help.
1 answers

One workaround, though not an optimal one is to create one non-persistent additional attribute in your entity and update the same for passing the value and in that case you can use that attribute in your XPath constraint