Question

  Asked: Apr 29 2008   2:03 PM GMT
  Asked by: Mrg


Changing the default DTD


XHTML, Domino 6.5, Lotus Notes, DTD, Domino and HTML, Lotus Web development

Does anyone know how to change the default DTD in Domino6.5?
From what I understand it is an environment variable that has to be changed in notes.ini or a configuration document in the Domino Directory. Does anyone know if it can be changed on a page-by-page basis?
Right now it's showing:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

and I want..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

Thanks
-mrg.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Hello

From what I found some time ago:
http://www.bofrede.com/en/articles/tips-doctype-fix

It's a server configuration
and you wouldn't have the exact dtd your request

(but rather 2 = <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">)

Mathieu
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development and Lotus Domino.

Looking for relevant Development Whitepapers? Visit the SearchWinDevelopment.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register