Java 提醒簿程序源码
Java 提醒簿程序源码 public void toWrite(String mytitle,String mycontent){ Element root=document.createElement("WorkShop"); document.appendChild(root); Element title=document.createElement("Title"); title.appendChild(document.createTextNode(mytitle)); root.appendChild(title); Element content=document.createElement("Content"); content.appendChild(document.createTextNode(mycontent)); root.appendChild(content); }