将dom4j格式化为标准的xml字符串
摘要:
StringWriter writer = new StringWriter(); OutputFormat format = OutputFormat.createPrettyPrint(); format.setEncoding("gb2312"); XMLWriter xmlwriter = 阅读全文
posted @ 2016-02-23 17:28 厚积!! 阅读(1425) 评论(0) 推荐(0) 编辑