Hi
I want to create a small xml file by using some nodes out of a larger xml file.
my approach:
1. parse large xml file using sax parser
2. select few nodes and instantiate a pojo class
2. using documentbuilder to create xml with the data members of pojo class.
(basically xml-to pojo-to xml)
my question:
any better way to do this???
(dom takes up memory and this kind of feels repetitive )