public static void main(String[] args) throws Exception {
Student student = new Student("123", "Nguyen Van A");
Bean2XML bean2XML = Bean2XML.getInstance();
XMLDocument document = bean2XML.toXMLDocument(student);
String text = document.getTextValue();
System.out.println(text);