protected void writeNamespace(String prefix,String uri) throws IOException {
  if ((prefix != null) && (prefix.length() > 0)) {
    writer.write(" xmlns:");
    writer.write(prefix);
    writer.write("=\"");
  }
 else {
    writer.write(" xmlns=\"");
  }
  writer.write(uri);
  writer.write("\"");
}

protected void writeNamespace ( String prefix , String uri ) throws IOException { if ( ( prefix != null ) && ( prefix . length ( ) > 0 ) ) { writer . write ( " xmlns:" ) ; writer . write ( prefix ) ; writer . write ( "=\"" ) ; } else { writer . write ( " xmlns=\"" ) ; } writer . write ( uri ) ; writer . write ( "\"" ) ; }
writes the sax namepsaces
