4.12.2.1 :: Words

Description


The <wordsChunk> element allows you to place h1 - h6, p, ul and ol tags on your site.

Quick Example


..snip..
  1.  <wapl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://wapl.wapple.net/wapl.xsd">
  2.   <layout>
  3.   <wordsChunk>
  4.   <display_as>h2</display_as>
  5.   <quick_text>Heading 2</quick_text>
  6.   </wordsChunk>
  7.   <wordsChunk>
  8.   <display_as>h3</display_as>
  9.   <quick_text>Heading 3</quick_text>
  10.   </wordsChunk>
  11.   <wordsChunk>
  12.   <display_as>p</display_as>
  13.   <quick_text>This will be displayed as a paragraph</quick_text>
  14.   </wordsChunk>
  15.   </layout>
  16.  </wapl>

Child Elements


display_as


The type of words chunk you'd like to display. Values for display_as can be h1, h2, h3, h4, h5, h6, p, ul, ol

Example:

<display_as>h3</display_as>

quick_text


The text you want displaying in your words chunk

Example:

<quick_text>My Heading</quick_text>

Contents