private void printAdditionalNamespaces(Writer out, Element element,
                                         NamespaceStack namespaces)
    throws IOException {
    List list = element.getAdditionalNamespaces();
    if (list != null) {
      for (int i = 0; i < list.size(); i++) {
        Namespace additional = (Namespace)list.get(i);
        printNamespace(out, additional, namespaces);
      }
    }
  }
private void printAdditionalNamespaces(Writer out, Element element,
                                         NamespaceStack namespaces)