treeWriter.startContent();
for (QName param : parameters.keySet()) {
String value = parameters.get(param).getStringValue().getStringValue();
treeWriter.addStartElement(c_param);
treeWriter.addAttribute(_name, param.getLocalName());
if (param.getNamespaceURI() != null && !"".equals(param.getNamespaceURI())) {
treeWriter.addAttribute(_namespace, param.getNamespaceURI());
} else {
// I'm not really sure about this...
treeWriter.addAttribute(_namespace, "");