private void forceNSDecls(){
  Enumeration prefixes=forcedDeclTable.keys();
  while (prefixes.hasMoreElements()) {
    String prefix=(String)prefixes.nextElement();
    doPrefix(prefix,null,true);
  }
}

private void forceNSDecls ( ) { Enumeration prefixes = forcedDeclTable . keys ( ) ; while ( prefixes . hasMoreElements ( ) ) { String prefix = ( String ) prefixes . nextElement ( ) ; doPrefix ( prefix , null , true ) ; } }
force all namespaces to be declared . < p / > this method is used on the root element to ensure that the predeclared namespaces all appear .
