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, 273👍, 0💬
How To Control Table Widths? Usually, browsers will calculate the table width based on the content w...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How To Insert Rows Based on SELECT Statements in PHP? If want to insert rows into a table based on d...
Where to find tutorials on Visual Studio? I want to know How to learn Visual Studio. Here is a large...
How To Run a PHP Script? A standard alone PHP script can be executed directly with the PHP Command L...