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',
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
+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
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
--- 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!
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
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
--- 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.
+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