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, 389👍, 0💬
How to install .NET Framework in Visual Studio Community 2017? I have the Visual Studio Installer in...
Where to find tutorials on how to Read and Write Files in PHP? A collection of tutorials to answer m...
Where to find tutorials of introduction to HTML Tables and Table Cells? Here is a list of tutorials ...
How To Create a Directory in PHP? You can use the mkdir() function to create a directory. Here is a ...
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements...