XML Format

An example of Rascular’s internal XML format is shown below. All XSLT translators should output XML that matches this form.

<?xml version=”1.0″ encoding=”UTF-16″?>
<textfile>
<header/>
<body>
<lineitem>
<columnitem name=”Title”>
Baghdad HQ in fresh rocket attack
</columnitem>
<columnitem name=”Desc”>
The coalition base in Iraq comes under fire as the top US civil administrator goes home to discuss the spate of attacks.
</columnitem>
</lineitem>
<lineitem>
<columnitem name=”Title”>
US Senate backs Syria sanctions
</columnitem>
<columnitem name=”Desc”>
The upper house backs a bill to slap sanctions on Syria if it fails to address the issues of terrorism and WMD.
</columnitem>
</lineitem>
<lineitem>
<columnitem name=”Title”>
Yukos oil tycoon to stay in jail
</columnitem>
<columnitem name=”Desc”>
A court turns down a bail request by Russian oil tycoon Mikhail Khodorkovsky, but his lawyers say they may appeal.
</columnitem>
</lineitem>
</body>
</textfile>

Note that the file is divided into lineitem elements, each of which is then divided into columnitem elements containing the actual text. The name attribute for each columnitem is optional, but is used to help form the complete datasource name. Every lineitem should have the same number of columnitems.

In addition, all lineitems must be contained within a body section. This is a new requirement with ET-Updater V2.11and later.