<?xml version='1.0' ?>
<template>
<constant name='const1' value = '1'/>
<constant name='const2' value = '2'/>
<field name='fld1'>
<sourcefield>fld1</sourcefield>
<stringformat>none</stringformat>
<dateformat>none</dateformat>
<value>13</value>
</field>
<report>
<beginreport>
Hi
My First Test
</beginreport>
<OpenPage>
Start page.
</OpenPage>
<row id='pippo'>
Hello {$name}, my name is {$MyName}.
I'am a single row, but I've two rows!
</row>
<block id='showMyArray'>
<datasource>
<varname>MyArray</varname>
</datasource>
<body>
<header>Field 1 Field 2</header>
<row> {$field1} {$field2}</row>
</body>
</block>
<block id='showLoopArray'>
<datasource>
<varname>LoopArray</varname>
</datasource>
<body>
<header>Field 1 Field 2</header>
<row> {$field1} {$field2}</row>
</body>
</block>
<closepage>
Page end
</closepage>
<closereport>
End!That's all folk!
</closereport>
</report>
</template>
|