public static String prtIndent(int indent,String str){
  return (spaces.substring(0,Math.min(indent * 2,spaces.length())) + str);
}

public static String prtIndent ( int indent , String str ) { return ( spaces . substring ( 0 , Math . min ( indent * 2 , spaces . length ( ) ) ) + str ) ; }
tool method for decompressxml ( ) ; apply indentation
