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, 2288🔥, 0💬
Popular Posts:
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web page...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...
What is EPUB 2.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 2.0 Metadata "dc:publisher" ...
dev.FYIcenter.com is a Website for software developer looking for software development technologies,...
How to access URL template parameters from "context.Request.Matched Parameters"object in Azure API P...