DOMParser.idl 289 B

123456789101112131415
  1. #import <DOM/Document.idl>
  2. enum DOMParserSupportedType {
  3. "text/html",
  4. "text/xml",
  5. "application/xml",
  6. "application/xhtml+xml",
  7. "image/svg+xml"
  8. };
  9. interface DOMParser {
  10. constructor();
  11. Document parseFromString(DOMString string, DOMParserSupportedType type);
  12. };