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, 355👍, 0💬
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How To Submit Values without Using a Form in PHP? If you know the values you want to submit, you can...
How the Values Are Ordered in an Array in PHP? PHP says that an array is an ordered map. But how the...
How To Create Table Borders? There are two sets of borders within a table: Outer Borders - Borders t...
What Types of Data Can Be Used as Array Keys in PHP? Two types of data can be used as array keys: st...