This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

15 lines
346 B
JavaScript

'use strict';
const {MIME} = require('../shared/symbols.js');
const {Document} = require('../interface/document.js');
/**
* @implements globalThis.XMLDocument
*/
class XMLDocument extends Document {
constructor() { super('text/xml'); }
toString() {
return this[MIME].docType + super.toString();
}
}
exports.XMLDocument = XMLDocument