protected void writeAttribute(String nsAlias,String name,String value) throws IOException {
  writer.write(" ");
  writeQualifiedName(nsAlias,name);
  writer.write('=');
  writer.write('\'');
  if (value != null) {
    writer.write(StringUtil.xmlEscape(value));
  }
  writer.write('\'');
}

protected void writeAttribute ( String nsAlias , String name , String value ) throws IOException { writer . write ( " " ) ; writeQualifiedName ( nsAlias , name ) ; writer . write ( '=' ) ; writer . write ( '\'' ) ; if ( value != null ) { writer . write ( StringUtil . xmlEscape ( value ) ) ; } writer . write ( '\'' ) ; }
writes a namespace - qualified xml attribute .
