4 :: Developing with WAPL

Common Development Tasks


This section describes how to build a site using WAPL. All examples have been kept deliberately simple to assist you in learning WAPL quickly.

If you'd like to see something not covered in the documentation addeed, please contact us and let us know

Helpful Hints


A Note About XML CDATA


Once you start developing with WAPL, you may soon want to display special characters inside elements. To do this in XML, a CDATA section is used to escape a block of text that would otherwise be parsed as markup.

You might occasionally find that your data contains large blocks of text with lots of potentially problematic characters. For example, your data could contain special characters such as a less than / greater than sign, ampersands etc, which would cause problems for the XML parser.

CDATA allows you to escape the whole block of text. The XML parser knows to escape all data between the CDATA tags.

You declare a CDATA section using as the closing tag.

Example:
<chars>
<value>
<![CDATA[
Hello & World!!
]]>
</value>
</chars>

Contents