Book a Demo

Author Topic: Set package file name in transformation templates  (Read 3941 times)

ssc

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Set package file name in transformation templates
« on: June 29, 2016, 07:48:32 pm »
Hi,

I found this old subject:

http://sparxsystems.com/forums/smf/index.php/topic,3124.msg115361.html#msg115361
 
Quote
This one is a bit odd- does anyone know which is the correct keyword for setting the file name of a package in a transformation template?

The XSD code engeneering seems to rely on the package file name but actually I fail to set it correctly as it always returns with an error.
It works ok for classes so I suspect it is labelled differently.

Should look like this:


Code:

Code: [Select]
Package
{
  %TRANSFORM_CURRENT("stereotype")%
  stereotype="XSDSchema"
  namespaceroot="true"
  [b]filename="weghweh.xsd"[/b]

%list="Class" @separator="\n" @indent="  "%
}


Is there any solution to this problem now?

Thanks
Stephan