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, ∼4286🔥, 0💬
Popular Posts:
What is EPUB 3.0 Metadata "dc:description" Element? EPUB 3.0 Metadata "dc:description" is an optiona...
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
How to validate the id_token signature received from Azure AD v2.0 authentication response? You can ...
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the de...