Hi Chunyu,
I don't know if I've ever used this myself, but you can use the 3rd parameter to saxon:transform() to pass parameters. You'll find more information about how to do so in the Saxon documentation here:
http://www.saxonica.com/html/documentation9.1/extensions/functions/transform.htmlAlex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet