开发者

Concatenate URL in XSL

开发者 https://www.devze.com 2023-03-13 09:33 出处:网络
I\'m trying to concatenate a url together in xsl. Basically, I\'m taking two variables and incorporating those into the pieces of the link to开发者_JAVA百科 make things dynamic. How can I perform this

I'm trying to concatenate a url together in xsl. Basically, I'm taking two variables and incorporating those into the pieces of the link to开发者_JAVA百科 make things dynamic. How can I perform this concatenation?


<a href="{concat('http://',$string1,'/',$string2)}>link</a>

Depends on the variables and on the target URL, but you want to use concat() anyway.

0

精彩评论

暂无评论...
验证码 换一张
取 消