← Back to team overview

openerp-community team mailing list archive

Re: XML files indent style standard

 

On 07/11/2013 10:21, Yannick Vaucher wrote:
> Dear Community,
>
> I'm launching a little vote for community code conventions as Pedro
> suggested here:
>
> https://code.launchpad.net/~camptocamp/margin-analysis/7.0-port-product_historical_margin-xml-retab-yvr/+merge/190350
> <https://code.launchpad.net/%7Ecamptocamp/margin-analysis/7.0-port-product_historical_margin-xml-retab-yvr/+merge/190350>
>
> The question to answer is what do we want as a standard for indent
> style in XML files?
>
> So far in comments of the previous MP votes are the following:
>
>  * 2 spaces: 2
>  * 4 spaces: 1
>

I personnally favor 2 spaces for xml files, which is a common standard
(e.g. http://google-styleguide.googlecode.com/svn/trunk/xmlstyle.html).


-- 
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 94

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com



Follow ups

References