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, ∼3627🔥, 0💬
Popular Posts:
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the de...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...