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, 440👍, 0💬
How To Control Table Widths? Usually, browsers will calculate the table width based on the content w...
Can You Copy an Array in PHP? You can create a new array by copying an existing array using the assi...
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutor...
How To Find a Specific Value in an Array in PHP? There are two functions can be used to test if a va...
What Types of Data Can Be Used as Array Keys in PHP? Two types of data can be used as array keys: st...