extract xml builder.