NodeInfo node = (NodeInfo)kids.next();
if (node == null) {
return;
}
if (node instanceof XSLParam) {
UserFunctionParameter param = new UserFunctionParameter();
params[count++] = param;
param.setRequiredType(((XSLParam)node).getRequiredType());
param.setVariableQName(((XSLParam)node).getVariableQName());
param.setSlotNumber(((XSLParam)node).getSlotNumber());
((XSLParam)node).fixupBinding(param);
int refs = ExpressionTool.getReferenceCount(fn.getBody(), param, false);
param.setReferenceCount(refs);
}
}
}