The <content> element is used in many places, everywhere you have a title or a description which can be multilingual and in a specific format. Usually for each language you have a <content> for it. The engine selects the corresponding content depending on the active language. If no content specific to a language is found, it uses the first defined content.

<content format="text" language="valid_culture"> Simple text </content>
<content format="html" language="valid_culture"><![CDATA[ <b> Html elements</b> ]]> </content>

format - optional, can be of value "text" or "html".
language - optional, the value is a valid (neutral)culture string (en, fr etc).

The element MUST contain a string, it can't be empty. if the format is "html" then the value needs to be wrapped in a CDATA section.

Last edited Jan 19, 2011 at 6:35 AM by mike_sapiens, version 3


No comments yet.