Element element = ((Element) node);
Map<String, Attribute> attributeMap = element.getAttributeMap();
String dialectPrefix = processorMatchingContext.getDialectPrefix();
Configuration configuration = arguments.getConfiguration();
final IStandardExpressionParser expressionParser = StandardExpressions.getExpressionParser(configuration);
final Map<String, Object> newLocalVariables = new HashMap<String, Object>(1, 1.0f);
Arguments withExecutionArguments = arguments;
for (Attribute attribute : attributeMap.values()) {
if (dialectPrefix.equals(Attribute.getPrefixFromAttributeName(attribute.getNormalizedName()))) {
final String newVariableName = Attribute.getUnprefixedAttributeName(attribute.getOriginalName());
final IStandardExpression expression = expressionParser.parseExpression(arguments.getConfiguration(),
withExecutionArguments, attribute.getValue());
final Object newVariableValue = expression.execute(configuration, withExecutionArguments);
withExecutionArguments = withExecutionArguments.addLocalVariables(Collections.singletonMap(newVariableName,
newVariableValue));
newLocalVariables.put(newVariableName, newVariableValue);