how to insert a node in existing xml# Java - 爪哇娇娃
v*8
1 楼
how to insert a node into an existing xml file? - besides creating dom then
writing out to file?
the xml file is very long (several k lines), and I want to keep the comments
in original xml file. The node needs to be insert right before the end tag
of the root
thanks
writing out to file?
the xml file is very long (several k lines), and I want to keep the comments
in original xml file. The node needs to be insert right before the end tag
of the root
thanks