XSLT ignores attribute value templates when checking
Brought to you by:
tpsfadmin
For some XSLT elements (xsl:sort, xsl:attribute,
xsl:element) the preprocessing and/or validity check
fails to allow for the fact that certain attributes can
be "attribute value templates" (i.e. contain
expressions in {} that should be evaluated at
run-time). This can lead to spurious error messages.
Workaround:
Use EvaluateAttrib as well as GetAttribute, e.g.:
sAttr := EvaluateAttrib(oContext,
GetAttribute(XpsDataType)); {!!.60 rbl}