public Object getParameter(String namespaceURI, String localName) {
String ns = (namespaceURI == null)? "" : namespaceURI;
try {
StructuredQName qn = new StructuredQName("", ns, localName);
ValueRepresentation vr = controller.getParameter(qn);
return IXSLFunction.convertToJavaScript(vr);
} catch(Exception e) {
Xslt20ProcessorImpl.handleException(e, "getParameter");
}
return null;