Setting Page Generation Properties to HTML5

I’m playing around with bootstrap. Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. To set the doctype in your XPages project do the following:

  • Open Package Explorer
  • Open xsp.properties under WebContent -> WEB-IN
  • Navigate to the Page Generation Properties tab
  • Set the value in HTML doctype
  • Save the changes