So it's a xhtml standard, thus i cannot 'skip' header levels and must maintain the order h1, then h2 after that h3 and so on. I cannot start with h3 in my document.
doh .. "The practice of skipping header levels is considered to be bad practice. The series h1 h2 h1 is acceptable, while h1 h3 h1 is not, since the heading level h2 has been skipped."
...that still doesnt explain why <header level="1"> becomes <h2>. very confusing indeed. I think in most designs h1 would be reserved for the title of the page .. so the content of the xmlblock should indeed often be lower. still, if that was the choice, they should have limited it to 5 headers by default. you can change all that ofcourse.
*-pike
---------------
The class eZContentObjectTreeNode does.
Thanks for your input and comments pike. Your link to w3c.org helps me to understand this issue (and thinking) more.
Nevertheless, it still does'nt explain the whole translation process. I'll dig through some ini-files and/or ezoe-classes to find a nice way to alter this behaviour to our (clients) needs.
Thanks again.
Chris.
Ps: i like your signature: "The class eZContentObjectTreeNode does." ;-) Always makes me smile when i see this in ez kernel classes.
Oh yes! In the prosess of creating a git guid for getting source and contributing easily with Github GIt style. So much easier to do for reviews, testing & sharing new stuff, and suggest changes..