Now that XDTL is taking off there's suddenly a need for a primer. While all the basics have already been covered in a previous article, some hands-on examples would probably help. Here come a couple of scripts (the term 'package' is used from now on), one simple one and some more advanced in the following posts.
As an introduction, the mandatory first program; should be self-explanatory.
<?xml version="1.0" encoding="UTF-8"?>
<xdtl:package name="loader.test"
xmlns:xdtl="http://xdtl.org/xdtl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xdtl.org/xdtl http://xdtl.org/xdtl/xdtl.xsd">
<xdtl:tasks>
<xdtl:task name="hello">
<xdtl:steps>
<xdtl:log msg="hello world!"/>
</xdtl:steps>
</xdtl:task>
</xdtl:tasks>
</xdtl:package>
To be continued, stay on the channel.