bookstore怎么放到第二行,另外这些节点能缩进显示吗?就是怎么生成和原来的xml文件格式一样的xml文件。
用 Transformer 对象 tf 调用 方法 setOutputProperty( OutputKeys.INDENT , "yes" ) , 表示yes 确认换行显示