Yeah I know the template system is not that bad and it works but
Velocity seems to be more intuitive so we'll move to Velocity soon and
so we're not interested in extending the template system that much.
There's no <XDtFormat:eatSpace/> tag.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of tek1
> Sent: Thursday, July 04, 2002 12:20 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] new tag to eat extra spacing in template
files?
> 
> is it possible to introduce a new tag (i.e. <XDtFormat:eatSpace/> or
> something similiar) to help in formatting the file that templates
> generate?
> 
> the template system is *excellent*, but the files are very difficult
to
> read and edit, as it's hard to see where tags start and end.
> 
> i'm working with a castor-related subtask and the part of the original
> template looked like:
> 
> 
> paramName="many-
> key"/>"</XDtMethod:ifHasMethodTag><XDtMethod:ifHasMethodTag
> tagName="castor:field-sql" paramName="many-table">
>             many-table="<XDtMethod:methodTagValue
> tagName="castor:field-sql"
> paramName="many-
> table"/>"</XDtMethod:ifHasMethodTag><XDtMethod:ifHasMethodTag
> 
> 
> something like:
> 
>       <XDtMethod:ifHasMethodTag tagName="castor:field-sql"
> paramName="many-table">
>       many-table="<XDtMethod:methodTagValue tagName="castor:field-sql"
> paramName="many-table"/>"
>       </XDtMethod:ifHasMethodTag><XDtFormat:eatSpace/>
> 
>       <XDtMethod:ifHasMethodTag tagName="castor:field-sql"
> paramName="dirty">
>       ...
> 
> would make the editing of the template files a lot easier, but still
> somehow preserve the correct *formatting* of the outputted file.
> 
> is this already exists or there are some good workarounds/best
practices
> for working with and maintaining the template files, please let me
know.
> 
> thank you.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Caffeinated soap. No kidding.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to