Eric Newport

Results 22 comments of Eric Newport

Open the file as a string using `fs.readFile`: http://nodejs.org/api/fs.html#fs_fs_readfile_filename_options_callback Then use xmldom to parse the XML into a DOM object using `DOMParser.parseFromString`: https://github.com/jindw/xmldom#api-reference When you do that you'll have a...

[Loop through the directory](http://nodejs.org/api/fs.html#fs_fs_readdir_path_callback) and open each file like in the example above.