alebu
Programmer
- Sep 7, 2002
- 46
Hi,
Currently I am involved in writing code standarts for my company and there is serious question about XML tags and attributes naming conventions.
There is three types of them:
1) Camel case - new word starts from Capitalized character.
Apache uses such approach.
2) Use minus (-) sign. For example, ii is used in XSLT.
3) To use underscore (_) sign - I found examples with underscore on and I now that some people use it.
In general, any of mentioned approches is OK, but I wonder if there some official recomendations for it.
What is your opinion?
Currently I am involved in writing code standarts for my company and there is serious question about XML tags and attributes naming conventions.
There is three types of them:
1) Camel case - new word starts from Capitalized character.
Apache uses such approach.
2) Use minus (-) sign. For example, ii is used in XSLT.
3) To use underscore (_) sign - I found examples with underscore on and I now that some people use it.
In general, any of mentioned approches is OK, but I wonder if there some official recomendations for it.
What is your opinion?