how to use a nested value as the input to an "inner macro"?

"Ralf Hauser" <[email protected]> Mon, 8 Sep 2003 16:02:49 +0200
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
Hi,

First I thought I had misspelled <#nested>
(http://sourceforge.net/tracker/index.php?func=detail&aid=802412&group_id=79
4&atid=100794), but perhaps I am trying something a little bit too
sophisticated.
Unfortunately, the documentation doesn't give an example for how to do this
(http://www.freemarker.org/docs/ref_directive_macro.html).

The following attempts all failed:

<#macro outerMacro>
<@innerMacro param1="<#nested>" /></#macro>

<@outerMacro>helloWorld</@outerMacro>

unfortunately results in "<#nested"> instead of helloWorld

other attempts wouldn't even pass fmpp:
<#macro outerMacro>
<@innerMacro param1=<#nested> /></#macro>

<#macro outerMacro>
<@innerMacro param1=nested /></#macro>

any hints would be highly appreciated!

	Rgds Ralf



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf