I want to take some data, update/create an xml file with it开发者_开发技巧 in node. Then I want to save it to a public directory.
How would I do this?
There are currently 13 XML modules for Node.js listed at the modules directory. Surely one of those is sufficient to your needs. Some are SAX, some are DOM, some are both; some are just parsers, others have generation capability; some are synchronous and others asynchronous. Something there has to work for you, if only libxmljs
's full capabilities.
精彩评论