I'm almost certain that there is a way to do this with the built-in tags by setting a variable and checking it to conditionally output a comma or not, but in my quick search in the modules tree I didn't find it.... although I'm 99.9% sure something is available to do this. So check the existing templates for where this might be done.
Erik
On Tuesday, November 11, 2003, at 05:20 AM, Rene Scherer wrote:
Hi all
I'm trying to write a custom template, which creates out of:
public class A {
public int x;
public int y;
public getX() {...}
public getY() {...}
}
something like:
A
(
x,
y
)
I'm currently using the TemplateSubTask and I haven't found away to get rid of the comma after the last method.
Is there a way of adding a comma after each method except for the last one?
Thanks,
Rene
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user