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, ∼5148🔥, 0💬
Popular Posts:
How to use the API operation 2017 version setting "Rewrite URL template"? The API operation setting ...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
How to create a VC# class and build it into a library? If you want to create a VC# class and build i...
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.or...
How to register and get an application ID from Azure AD? The first step to use Azure AD is to regist...