TValue value = model.getParameterBlock().query(parameter);
XMLPipelineContext pipelineContext = dynamicProcess.getPipelineContext();
ExpressionContext context = pipelineContext.getExpressionContext();
// The given name could be a prefixed name, so go through these
// hoops to ensure that we register the variable against the
// correct namespace (the namespace for no prefix is "no namespace"
// according to http://www.w3.org/TR/xpath20/#id-variables - this
// is modelled using the "default namespace" for variables)
NamespacePrefixTracker namespacePrefixTracker =
context.getNamespacePrefixTracker();
ExpandedName name = namespacePrefixTracker.resolveQName(
new ImmutableQName(variable), "");
// Create a new TemplateExpressionValue
TemplateExpressionValue initialValue = new TemplateExpressionValue(