XML Code Style

Last modified by Vincent Massol on 2026/09/15 13:02

This page lists the rules specific to XML files. The rules common to all the languages used in the XWiki project are on the Code Style page.

The XML files should follow these rules:

  • indentation uses 2 spaces

Eclipse

There is no XML format profile in Eclipse, but the config is easy to find: Windows -> Preferences -> XML -> Editor:

2014-08-18_11_25_10.png

Get Connected