Element binding
= doc.createElementNS(XMLUtil.XMLNS_XFORMS, "bind");
binding.setAttribute("id", applicationId + ":" + fp.id());
binding.setAttribute
("nodeset", "ActualParameter[@name='" + fp.id() + "']");
if (fp.mode() == FormalParameter.Mode.IN) {
binding.setAttribute ("readonly", "true()");
}
if (fp.type().equals(Date.class)) {
binding.setAttribute ("type", "date");
}