Tools, FAQ, Tutorials:
Use '@(...)' Expressions in XML Attributes
When using "@(...)" expressions in XML attributes as part of an policy statement, do I need to worry about string quotations?
✍: FYIcenter.com
If you are using a "@(...)" expression in XML attributes as part of an policy statement, and string literals are used in the "@(...)" expression, the syntax of the final policy statement is confusing:
For example, the following "set-variable" policy statement uses a "@(...)" expression as part of an attribute value to set a new variable to be used later:
<set-variable name="message" value="@("Hello world!")" />
From XML syntax point of view, the above XML element is actually not valid. Because the XML attribute value can not have nested quotes.
But Azure.com has no problem take the above XML statement.
It could be that Azure.com is processing the @(...) expression first, before processing the XML element.
⇒ Use < Sign in '@(...)' Expressions
2017-11-12, 2571🔥, 0💬
Popular Posts:
Why am I getting this "Docker failed to initialize" error? After installing the latest version of Do...
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as...
How To Pass Arrays By References? in PHP? Like normal variables, you can pass an array by reference ...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...