摘要: package anby.com;import java.util.Iterator;public class Dom4JRead { public static void main(String[] args) throws DocumentException { //Dom4JReader(); SAXReader saxreader=new SAXReader(); Document doc=saxreader.read("Book.xml"); Node node =doc.selectSingleNode("//book[@id='boo1 阅读全文
posted @ 2013-04-13 21:27 尼姑哪里跑 阅读(361) 评论(0) 推荐(0) 编辑
摘要: package anby.com;import java.io.File;import java.io.FileWriter;import java.io.IOException;import org.dom4j.Attribute;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import org.dom4j.Element;import org.dom4j.Node;import org.dom4j.io.SAXReader;import org.do 阅读全文
posted @ 2013-04-13 21:23 尼姑哪里跑 阅读(193) 评论(0) 推荐(0) 编辑
摘要: public static DataTable InitDgvProcessWorker() { ArrayList list=new ArrayList(); DataTable dt = new DataTable(); string str= "select WorkerNO as 工号,[Name] as 姓名,DutyContent as 职 责,[Group] as 组名... 阅读全文
posted @ 2013-04-13 14:32 尼姑哪里跑 阅读(295) 评论(0) 推荐(0) 编辑