#set ( $basepath = $generator.OutputPath)

#foreach ($dataModel in $dataModels)

  #if ($outputFormat=="html")
    #set ( $outFile = "${dataModel.name}.html" )
  #else
    #set ( $outFile = "${dataModel.name}.xml" )
  #end

  File to be created: $outFile

  $generator.parse("doc/$outputFormat/datamodel.vm",$outFile,"dataModel",$dataModel)
#end
