public final String toString(String codeset){
  StringBuffer retVal=new StringBuffer();
  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()) + "\n");
  return versionDecl + retVal.toString();
}

public final String toString ( String codeset ) { StringBuffer retVal = new StringBuffer ( ) ; 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 ( ) ) + "\n" ) ; return versionDecl + retVal . toString ( ) ; }
override tostring so it prints something useful
