Open pessato opened 8 years ago
From @oozcitak on April 18, 2016 8:7
You should take this to xml2js
, however if it passes options directly to xmlbuilder
than the correct syntax should be:
var options = {
rootName: 'test',
doctype: {'sysID': 'hello.dtd'},
xmldec: {'version': '1.0', 'encoding': 'UTF-8'}
};
Note sysID
instead of ext
.
No idea how I've ended up creating this issue here... Apologies and thanks.
Correct me if I'm wrong, however I think the README needs to be updated to reflect the above? i.e.
doctype
(default null
): optional DTD. Eg. {'sysID': 'hello.dtd'}
From @pessato on April 16, 2016 8:21
Gives me...
How can I get...
Copied from original issue: oozcitak/xmlbuilder-js#123