Adding a custom DOCTYPE tag
zietbukuel opened this issue · 3 comments
zietbukuel commented
I need to create an XML file that has the following Doctype:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE VAR_COMP TXT "/path/to/file.dtd">
How can add this Doctype with this library?
Thanks.
AaronDDM commented
You cannot at the moment, but I'm going to look into adding support for this.
AaronDDM commented
Hey @zietbukuel ,
Check out https://github.com/AaronDDM/XMLBuilder#example-custom-xmlwriter-instance
Thanks!
zietbukuel commented
Thank you so much. Works like a charm.