Retrieve page URL params or page URL in XSLT

前端 未结 4 1282
不知归路
不知归路 2021-01-14 13:37

I have a page which has URL structure : http://www.abc.com/xyz?parama=1¶mb=2

  • Is is possible to create a generic method for getting the values of an

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-14 14:14

    I workaround this by using javascript in mi XSLT file. take a look.

    on The XML I have a tag element named tag! yes, very original...

    
            
              
                This is my custom URL
              
            
    

    Now inside the template of the transform, in going to load my custom value in Param1 in this case i'm going to use the document.title.. by using a jquery function.

     
    

提交回复
热议问题