You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written code that uses node-expat to parse XML and create a JSON representation. It can also take that JSON and reconstruct the XML in a lossless way. node-expat worked wonderfully for this! The DOCTYPE is the only part of XML I'm not handling now.
Would you be so kind to implement both startDoctypeDecl and endDoctypeDecl, I think you are right that these are already available in libexpat itself.
From what I (seem to) understand, these need to be added to the node-expat.cc file, if it was within my powers I'd submit a pull request, but every attempt I have made to the add these results in horrible compilation errors (as I am not proficient in c/c++) :)
It would be nice if there was an event emitted for the DOCTYPE that provided the name, public id and system id.
The text was updated successfully, but these errors were encountered: