What is the proper way to seperate query string parameters in a url?

前端 未结 1 807
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 18:36

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

1条回答
  •  隐瞒了意图╮
    2020-12-17 19:07

    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¶m2=value2¶m3=value3
    

    0 讨论(0)
提交回复
热议问题