我需要测试一些正在传递几个全局参数的 XSLT,例如:
如果我有 2 个参数 displayNumber 和 pullDate 并且我的 URL 是 www.abcdefg.com/yyy/bbb.aspx(此处的第一个参数)(此处的第二个参数)
如果我想为每个参数指定一个值,是否应该在两个参数之间放置一个字符?
最佳答案
If I then want to specify a value for each parameter, is there a character that should sit between the two parameters?
这与 XSLT 无关。
在 URL 中指定查询字符串参数的语法是众所周知的:
'?'
特点。 '&'
特点。 name=value
示例 :
http://www.xyz.com/somePath?param1=value1¶m2=value2¶m3=value3
关于url - 在 url 中分离查询字符串参数的正确方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11687970/