Docmosis Example
This document is an example of a template
This example uses
plain text
<<
and
>> delimiters as markup.
Please refer to the
Template Developer's Guide for information about templates.
Welcome to Docmosis, this paragraph has been rendered with
html-like styling
enabled.
The property
docmosis.populator.field.markup.process
is set to
true
to allow text data to
be interpreted in this example.
By default this setting is off so make sure you turn it on if
you want it.
Bold,
italics and underline
are supported.
This is a simple table with no substitutions/fields
Name
Addr
DOB
Damo
10 the Lane
5 July 1980
This is a simple table with simple substitutions/fields
Name
Addr
DOB
Freddy James
my home pad
10 July 1990
This is the same table but defining repetition
Person Name
Person Address
Person DOB
Paul Stuo
10 the lane
Albury
10 Jan 1956
Sam Wells
1 Apr 2000
Superman
Level 28, The Daily Planet
23 June 1964
Freddy Kruger
10 Alexander Heights
28 May 2001
This is a list of things that are fun:
1.
touch rugby
2.
golf
3.
ice cream
This section is conditional and may simply not appear!!
Here's how you reach our website:
Docmosis
This section repeats while there is data inside
I have a message:
This is the first of a few messages.
I have a message:
Here's a second just for the fun of it.
I have a message:
Phew, this is getting boring.
I have a message:
Right that's enough.
Page 1 of 2
Docmosis Example
This image will be replaced at runtime:
The table below is inside a repeating section so the table can act as a template for
differing sets of data.
A renderer has also been referenced which changes the row colours
and fonts.
This table is all about Greek
ID
Value
1
Alpha
2
Beta
3
Gamma
Table 1 This table is all about Greek
This table is all about Animals
ID
Value
Marsupial
Numbat
Marsupial
Quoll
Marsupial
Echidna
Marsupial
Dunnart
Reptile
Gecko
Reptile
Python
Table 2 This table is all about Animals
This table is all about Programming
ID
Value
Language
C
Language
Ada
Language
Pascal
Language
Fortran
Language
Cobol
Language
Assembly
Language
Basic
Language
C#
Language
LISP
Table 3 This table is all about Programming
Page 2 of 2