From: Dario L. <lib...@in...> - 2003-03-05 19:29:26
|
RE: [Webmacro-devel] special characters - now slash directory separator = problemKeats, Thank you very very much. By the way... I am using macros now :-) I am supposed to include the macro file in all my files??? Also, including it in the main wm, does not heredate it to its internal = included files. So it seems that not only the main wms, but really all = wms need the macro include statement, right? It would be nice to have it included in my configuration file or = something for global access. Also, is there any way to make a macro with body? by now, instead of for example doing: #ApplyXSL ("http://myfile.xsl") { <xmltag name=3D"hello" value=3D"$myvar"/> } I am doing this: #setblock as macro $thebodyblk {=20 <xmltag name=3D"hello" value=3D"$myvar"/> } #ApplyXSL ("/myfile.xsl", $thebodyblk)=20 The first sintax is much nicer I beleave. There shoud be a directive = that creates a macro with body, say.. #macrowb the people at freemarker, I think use the word "nested" to refer to the = bodyblock during the macro definition. When I finish this ApplyXSL tool (I hope to have the time to do it), I = will expose it to the list, maybe someone likes it. Cheers, Dario. |