blog2md icon indicating copy to clipboard operation
blog2md copied to clipboard

err parsing xml

Open GerhardMes opened this issue 5 years ago • 2 comments

installation worked fine. copied my xml file in the blog2md folder and run the script, but getting an error.

$ node index.js w MyFile.xml out s WARNING: Given output directory "out" already exists. Files will be overwritten. INFO: Comments requested to be a separate .md file(m - default) Error parsing xml file (MyFile.xml) {}

the xml file was just downloaded without any problems. Any advice which problem accured? Thanks

GerhardMes avatar Apr 24 '19 10:04 GerhardMes

@GerhardMes

Without the xml file it is hard for me to say. I think the error is from line#75. I recommend you try to validate the MyFile.xml if it passed, you can also try upgrading to newer version of xml2js

Wish you Good luck 🤞🏼

palaniraja avatar Apr 24 '19 16:04 palaniraja

Hi,

I also have some problems with your code but a behaviour is different. First , a got this error message: image

And after deleting =false in line 435 a new error occurs: image

Any ideas? Thanks!

tmikolajczyk avatar Nov 05 '19 14:11 tmikolajczyk