PHP XTemplate: Multiple Dynamic Blocks

In PHP XTemplate: The Basics, I covered the basics for using the XTemplate engine. In this tutorial, I will cover using dynamic blocks to fill in information from a data source. For this tutorial, I will use an XML file for my data source. For more information on using PHP to read XML files, see my tutorials on Reading XML files with PHP. I will use the XML file created in the first part of that series. Continue reading