Passing a URL variable into xsl

前端 未结 2 1089
春和景丽
春和景丽 2021-01-19 01:25

Is it possible to pass a URL variable into xsl.

EG. http:www.somedomain.com/index.aspx?myVar=test&myVar2=anotherTest

I\'d like to be able to use t

2条回答
  •  执笔经年
    2021-01-19 02:02

    Sure, you can. Use xsl:param element in xsl:stylesheet element and pass parameter from your XSL engine.

    
        
    

    Then use string-functions, e.g.:

    
    
    |
    
    

提交回复
热议问题