code: void emitProfileOptions() throws SAXException {
          profile = request.getParameter("profile");
  
          emitter.option("Permissive: only what the spec requires",
                  "", ("".equals(profile)));
          emitter.option("Pedagogical: suitable for teaching purposes",
                  "pedagogical", ("pedagogical".equals(profile)));
          emitter.option("Polyglot: works both as HTML and as XML",
                  "polyglot", ("polyglot".equals(profile)));
      }
docs: @throws SAXException