Evaluated expressions vs. literals

Previous Next

USoft Blend  >  Expressions  >  XPath  >  Evaluated expressions vs. literals


There are times when you want XPath expressions to be evaluated (interpreted, resolved) and there are other times when you want expressions to be taken literally (literal expressions).

To accommodate these two needs, USoft Blend automatically evaluates expressions when it is likely that you want this, and in other cases does not. In those other cases, if you want evaluation, you must prompt the processor to evaluate the expression. You do that by embedding the expression in curly braces, turning it into what XSLT calls an Attribute Value Template.



collapseAutomatic evaluation
collapseAttribute Value Templates
collapsePreventing automatic evaluation



See also

Guide to expressions and data types

          Literal expressions


                  string literals

          Path expressions

          XML expressions

          XPath expressions

                 Node set expressions




                 Function calls

                 Variable references

                 Implicit XPath data type conversion

                 Evaluated expressions vs. literals

          SQL expressions