Pick some variable output of rpart to table

can everyone tell's me .. how to make output of rpart growing the tree into table .. with the column

node), split, n, loss, yval, (yprob)
      * denotes terminal node

and the values

1) root 223 48 UMUM (0.21524664 0.78475336)  
  2) PT.Kabupaten>=0.5 44  0 KHUSUS (1.00000000 0.00000000) *
  3) PT.Kabupaten< 0.5 179  4 UMUM (0.02234637 0.97765363) *

the next question some like the first question ,, and now how to make this output readable with make the output into table
summary(rpart)
output

Node number 1: 223 observations,    complexity param=0.9166667
  predicted class=UMUM    expected loss=0.2152466  P(node) =1
    class counts:    48   175
   probabilities: 0.215 0.785 
  left son=2 (44 obs) right son=3 (179 obs)
  Primary splits:
      PT.Kabupaten < 0.5 to the right, improve=67.515090, (0 missing)
      PT.Provinsi  < 0.5 to the right, improve=25.581420, (0 missing)
      PT.Nasional  < 0.5 to the right, improve=11.551280, (0 missing)
      JH           < 4.5 to the right, improve= 2.268674, (0 missing)
      SMS          < 7   to the right, improve= 1.008716, (0 missing)
  Surrogate splits:
      PT.Provinsi < 0.5 to the right, agree=0.870, adj=0.341, (0 split)
      PT.Nasional < 0.5 to the right, agree=0.825, adj=0.114, (0 split)

Node number 2: 44 observations
  predicted class=KHUSUS  expected loss=0  P(node) =0.1973094
    class counts:    44     0
   probabilities: 1.000 0.000 

Node number 3: 179 observations
  predicted class=UMUM    expected loss=0.02234637  P(node) =0.8026906
    class counts:     4   175
   probabilities: 0.022 0.978

thank you