Re: text support for macrodef

2004-01-28 Thread Peter Reilly
Dominique Devienne wrote: 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',

RE: text support for macrodef

2004-01-28 Thread Dominique Devienne
From: Peter Reilly [mailto:[EMAIL PROTECTED] attributes like 'trim', 'optional', or why not 'normalize', etc... --DD Ok done trim and optional. What would normalize do ? Thanks Peter. I was just throwing 'normalize' out there. I'm no XML guru, but I thought there was special optional text

RE: text support for macrodef

2004-01-23 Thread Jan . Materne
+1 Jan -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 4:24 PM To: Ant Developers List Subject: Re: text support for macrodef +1 On Jan 22, 2004, at 10:03 AM, Peter Reilly wrote: I would like to add support to macrodef

RE: text support for macrodef

2004-01-23 Thread Dominique Devienne
From: Stefan Bodewig [mailto:[EMAIL PROTECTED] On Fri, 23 Jan 2004, Peter Reilly [EMAIL PROTECTED] wrote: macrodef cdata=/ ? This sounds good. Not sure either, sorry 8-( How about: macrodef name=macro attribute name=... / element name=... / text name=... trim=true

RE: text support for macrodef

2004-01-23 Thread Matt Benson
--- Dominique Devienne [EMAIL PROTECTED] wrote: Makes it an nested element of macrodef, which allows to have interesting attributes like 'trim', 'optional', or why not 'normalize', etc... --DD I agree that this is attractive. -Matt __ Do you Yahoo!? Yahoo!

Re: text support for macrodef

2004-01-23 Thread Stefan Bodewig
On Fri, 23 Jan 2004, Dominique Devienne [EMAIL PROTECTED] wrote: How about: macrodef name=macro attribute name=... / element name=... / text name=... trim=true optional=true ... / sequential ... /sequential /macrodef +1 Stefan

text support for macrodef

2004-01-22 Thread Peter Reilly
I would like to add support to macrodef to allow the text content of macros to be placed in the macro instance: use is like this: macrodef name=echotest textname=text sequential echo@{text}/echo /sequential /macrodef echotest Hello world /echotest The textname

Re: text support for macrodef

2004-01-22 Thread Matt Benson
--- Peter Reilly [EMAIL PROTECTED] wrote: I would like to add support to macrodef to allow the text content of macros to be placed in the macro instance: Non-committing +1... I like it. -Matt __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool.

Re: text support for macrodef

2004-01-22 Thread Erik Hatcher
+1 On Jan 22, 2004, at 10:03 AM, Peter Reilly wrote: I would like to add support to macrodef to allow the text content of macros to be placed in the macro instance: use is like this: macrodef name=echotest textname=text sequential echo@{text}/echo /sequential /macrodef