Option to remove root node from output.


If an option was added to remove the root node from output, then ConfigGen could be used to generate non xml files, just by wrapping the file contents in an arbitrary root node in the template. This would then be removed on output.


rob_levine wrote Feb 22, 2012 at 7:22 PM

Experimental support for this feature has been added to source code (change set ec9520289833, v0.3.2.5), planned for full 0.3.2 release.

Either enable in template file (preferred way):
    <cg:OuputProcessing removeRootElement="true" />
or enable at the command line with -r / --remove-root-element (the not-so preferred way)