public final String toString(){
  StringBuffer retVal=new StringBuffer();
  if (codeset != null) {
    for (int i=0; i < prolog.size(); i++) {
      ConcreteElement e=(ConcreteElement)prolog.elementAt(i);
      retVal.append(e.toString(getCodeset()) + "\n");
    }
    if (content != null)     retVal.append(content.toString(getCodeset()));
  }
 else {
    for (int i=0; i < prolog.size(); i++) {
      ConcreteElement e=(ConcreteElement)prolog.elementAt(i);
      retVal.append(e.toString() + "\n");
    }
    if (content != null)     retVal.append(content.toString());
  }
  return versionDecl + retVal.toString();
}

public final String toString ( ) { StringBuffer retVal = new StringBuffer ( ) ; if ( codeset != null ) { for ( int i = 0 ; i < prolog . size ( ) ; i ++ ) { ConcreteElement e = ( ConcreteElement ) prolog . elementAt ( i ) ; retVal . append ( e . toString ( getCodeset ( ) ) + "\n" ) ; } if ( content != null ) retVal . append ( content . toString ( getCodeset ( ) ) ) ; } else { for ( int i = 0 ; i < prolog . size ( ) ; i ++ ) { ConcreteElement e = ( ConcreteElement ) prolog . elementAt ( i ) ; retVal . append ( e . toString ( ) + "\n" ) ; } if ( content != null ) retVal . append ( content . toString ( ) ) ; } return versionDecl + retVal . toString ( ) ; }
override tostring so it does something useful
