make it a parameter in your xslt, and use System.Xml.Xsl.XsltArgumentList's AddParam method, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxslxsltargumentlistclassaddparamtopic.asp

解决方案 »

  1.   

    to: saucer(思归/MVP) 
    能不能在xslt中弹出一个对话框要求输入参数
      

  2.   

    probably not, and it doesn't sound like a good idea, do it in your code, then change the parameter before doing the transformation, or you can add custom functions, 参考INFO: Roadmap for Executing XSLT Transformations in .NET Applications
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;313997
      

  3.   

    我们老大要求我只能在xslt中实现参数的输入,晕,怎么实现
      

  4.   

    to: saucer(思归/MVP) 
    有没有什么办法能够在xslt中接收参数
      

  5.   

    in your xslt,<xsl:param name=".." />in your code, use AddParam