I am using the XML Templater to transform data from a shapefile into an xml document. The Transformer creates one complete xml child node for each dataset perfectly. But this is not a complete xml file because I still need to add additional header information into the final XML Document before it is ready to be used in another application. In other words, I need to insert my XML Nodes into a Wrapper document. AM I able to do this with the XML-Templater or do I need to use an additional transformer?
Think of it like this.
My Templater creates this:
<parent>
<child>
<value>
</child>
<child>
<value>
</child>
</parent>
But I need:
<?xml version="1.0" encoding="utf-8"?>
<CABS_BPLAN_Records xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ikxBase="http://schemas.webs.idu.de/cardo3/Ikx/IkxBase" xsi:schemaLocation="http://www.cardogis.com/ikx/schema/HEIDEKREIS/Exchange puzzle.xsd" xmlns="http://www.cardogis.com/ikx/schema/HEIDEKREIS/Exchange">
<parent>
<child>
<value>
</child>
<child>
<value>
</child>
</parent>
</CABS_BPLAN_Records>