empty elements - add closing tag by default
Posted: Wed Feb 03, 2010 10:55 pm
Hi there,
In our project, we often need to add empty elements to the text (editing only attributes). As you know, empty elements may be written in a short form, omitting the end tag: <example/>; that is equivalent to the full form <example></example>.
In Oxygen, I've found that elements that do not require child elements appear in the short form by default (when adding a new element from Author mode). Is there a way to ask Oxygen to make it default to *always* add the complete form with both opening and closing tags?
We need this:
We get this:
In our project, we often need to add empty elements to the text (editing only attributes). As you know, empty elements may be written in a short form, omitting the end tag: <example/>; that is equivalent to the full form <example></example>.
In Oxygen, I've found that elements that do not require child elements appear in the short form by default (when adding a new element from Author mode). Is there a way to ask Oxygen to make it default to *always* add the complete form with both opening and closing tags?
We need this:
Code: Select all
<REGION REG="Arizona"></REGION>
Code: Select all
<REGION REG="Arizona"/>