What is the proper way to seperate query string pa

2020-02-10 18:29发布

I need to test some XSLT that is being passed several global parameters so for example:

If I have 2 parameters displayNumber and pullDate and a my URL is www.abcdefg.com/yyy/bbb.aspx(first parameter here)(second parameter here)

If I then want to specify a value for each parameter, is there a character that should sit between the two parameters?

1条回答
唯我独甜
2楼-- · 2020-02-10 18:55

If I then want to specify a value for each parameter, is there a character that should sit between the two parameters?

This has nothing to do with XSLT.

The syntax for specifying query-string parameters in a URL is well-known:

  • The first name-value pair is preceded by a question mark '?' character.

  • Every next name-value pair is preceded by an ampersand '&' character.

  • Every name-value pair has the form: name=value

Example:

http://www.xyz.com/somePath?param1=value1&param2=value2&param3=value3
查看更多
登录 后发表回答