The following example demonstrates how to split a large
Scriptella ETL file into several parts. This example is based on a traditional XML parsed entities approach:
<!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd"
[
<!-- Declaring the first external parsed entity to include -->
<!ENTITY part1 SYSTEM "part1.xml">
<!-- Declaring the second external parsed entity to include -->
<!ENTITY part2 SYSTEM "part2.xml">
]>
<etl>
<connection driver="text"/>
<!-- Including file
&part1;
<script>
content of the script
</script>
<!-- Including file #2 -->
&part2;
</etl>