Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.88k stars 604 forks source link

Add tip to doc #480

Closed denisx closed 4 years ago

denisx commented 5 years ago

Add tip to doc, because options in constructor mode do not work at parseString

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 97.633% when pulling ff70e4fd91a34d835bd8bedbf1d14f2fc55a3922 on denisx:patch-1 into 0f0a2980b3db5366b3d50e4d0da422cb7af100c9 on Leonidas-from-XIV:master.

Leonidas-from-XIV commented 4 years ago

That tip would be misleading because it is also possible to add options to parseString, see this code:

https://github.com/Leonidas-from-XIV/node-xml2js/blob/aefc64af9e9badbd0aade00814548f2ea33c9b4e/src/parser.coffee#L265