If you're using this for some other kind of XML, you can set the content type here.
Note: this has no impact on the function of this class. It is only used if the document is sent via a protocol like HTTP.
This may be called by parse() if it recognizes the data. Otherwise, if you don't set it, it assumes text/html; charset=utf-8.
See Implementation
If you're using this for some other kind of XML, you can set the content type here.
Note: this has no impact on the function of this class. It is only used if the document is sent via a protocol like HTTP.
This may be called by parse() if it recognizes the data. Otherwise, if you don't set it, it assumes text/html; charset=utf-8.