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, 608👍, 0💬
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
Where to find tutorials on how to create Your Own Functions in PHP? A collection of tutorials to ans...
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is t...
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
Where is API Management Service on my Azure Portal? If your IT department has signed up for an Azure...