Use & in '@(...)' Expressions
How to enter & entity in '@(...)' expressions?
If you want to enter the & sequence in a '@(...)' expressions, you must enter it as &amp;.
This is because all XML entities will be decoded immediately, when Azure process the policy XML document.
For example, the following "set-variable" policy statement uses a "@(...)" expression that contains the & entity:
<set-variable name="entity" value="@("& = &amp;")" />
The above statement will set "& = &" into the "entity" variable.
The same logic is true for all other XML entities:
< and < give the same result in @(...) > and > give the same result in @(...) & and & give the same result in @(...)
2017-11-12, 356👍, 0💬
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
How To Quote Date and Time Values in SQL Statements in PHP? If you want to provide date and time val...
Where to find tutorials on how to Read and Write Files in PHP? A collection of tutorials to answer m...
Where to find tutorials on HTML language? I want to know how to learn HTML. Here is a large collecti...
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that c...