2. Opening an existing XHTML document

  • If your document starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">, it will be detected as being an XHTML document associated with the XMLmind XML Editor (XXE for short) configuration called "XHTML Strict".

    Note that the XHTML 1.0 Strict DTD does not allow the body element to contain text other than whitespace.

  • If your document starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">, it will be detected as being an XHTML document associated with the XXE configuration called "XHTML Transitional".

  • If your document starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN">, it will be detected as being an XHTML document associated with the XXE configuration called "XHTML 1.1".

  • If your document does not start with <!DOCTYPE> and if its root element is html in the "http://www.w3.org/1999/xhtml" namespace, it will be detected as being an XHTML document associated with the XXE configuration called "XHTML 5".

  • Otherwise your document will not be detected as being an XHTML document and you'll have to customize one of the stock XHTML configurations if you want to open your document as an XHTML one.