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, ∼3470🔥, 0💬
Popular Posts:
How to register and get an application ID from Azure AD? The first step to use Azure AD is to regist...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...
How to reinstall npm with a node version manager? I am getting permission errors with the current ve...
How to use the "Ctrl-p Ctrl-q" sequence to detach console from the TTY terminal of container's runni...