Tools, FAQ, Tutorials:
Use & in '@(...)' Expressions
How to enter & entity in '@(...)' expressions?
✍: FYIcenter.com
If you want to enter the & sequence in a '@(...)' expressions, you must enter it as &.
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 @(...)
⇒ '@{...}' Expression Blocks in Azure API Policy
2017-11-12, 2610🔥, 0💬
Popular Posts:
What is Azure API Management Publisher Dashboard? Azure API Management Publisher Dashboard is an Azu...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text ...
How to install "C++/CLI Support" component in Visual Studio? I need to build my Visual Studio C++/CL...
How to create the Hello-3.0.epub package? I have all required files to create Hello-3.0.epub. To cre...