Wiki source code of TestMacroSyntax10UsedFrom20

Version 3.1 by Ludovic Dubost on 2009/04/30 10:42

Show last authors
1 = Method 1 uses an XWiki syntax 2.0 include
2
3 {{include document="Test.TestMacroSyntax10" output=false /}}
4 {{velocity}}
5 This works but the include up there will include the content of the macro file so generate a lot of white spaces and it will try (i think) converting the macro file to syntax 2.0 which generates a risk of breaking the macros if they are complex and include JS
6 #mymacroinsyntax10doc("World")
7 {{/velocity}}