Wednesday, February 21, 2007

XML Peeve : Element Capitalization

What's the general practice in XML world re: how to capitalize your elements?  I prefer traditional "human readable" capitalization.  In other words, <Element> rather than <ELEMENT>.  I'm integrating some old legacy stuff that is all the latter and it's annoying to see things like this:

<NewElement>

<OLDELEMENT1>

<OLDELEMENT2>

<NewChildOfOldElement/>

</OLDELEMENT2>

<NewSiblingOfElement2/>

</OLDELEMENT1>

</NewElement>


Yuck.  Anybody got a good XSLT transform that can properly change  FOO_BAR into FooBar?


 


Technorati tags:

No comments: