Menu

#14 XSLT ignores attribute value templates when checking

open
nobody
None
5
2013-01-15
2005-07-27
No

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}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB