Style XML generation to Rcpp