在J2EE中,在my.xml中只有代码: 假设doc为已经创建的Document对象,则()解析生成上述XML文档对象。
A. Node person = doc.createNode(“PERSON”,”E01”);
B. Element person = doc.createElement(“PERSON”,”E01”);
C. Element person = doc.createElement (“PERSON”);Person.setAttribute(“PERSON”,”E01”);
D. Node person = doc.createElement (“PERSON”);Person.setAttribute(“PERSON”,”E01”);