ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: text support for macrodef
Date Fri, 23 Jan 2004 14:57:23 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> 
> On Fri, 23 Jan 2004, Peter Reilly <peter.reilly@corvil.com> wrote:
> 
> >><macrodef cdata=""/>  ?
> >>
> > This sounds good.
> 
> Not sure either, sorry 8-(

How about:

<macrodef name="macro">
  <attribute name="..." />
  <element name="..." />
  <text name="..." trim="true" optional="true" ... />
  <sequential>
    ...
  </sequential>
</macrodef>

???

Makes it an nested element of <macrodef>, which allows to have interesting
attributes like 'trim', 'optional', or why not 'normalize', etc... --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message