templates.xmlTemplate.ftl.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toolchain-fixtures Show documentation
Show all versions of toolchain-fixtures Show documentation
Extensions on existing fixtures to aid in automated testing
<#function output item>
<#if item?is_hash>
<#assign obj = "">
<#list item as k, v>
<#if k?starts_with("__")>
<#assign obj += output(v)>
<#else>
<#assign obj += '<${k}>' + output(v) + "${k?split(\" \")?first}>">
#if>
#list>
<#elseif item?is_sequence>
<#assign obj = "">
<#list item as v>
<#assign obj += output(v)>
#list>
<#else>
<#assign obj = item>
#if>
<#return obj>
#function>
${output(testdata)}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy