Changes for page TestMacroSyntax10UsedFrom10
Last modified by Ludovic Dubost on 2009/04/30 10:41
From version 8.1
edited by Ludovic Dubost
on 2009/04/30 10:41
on 2009/04/30 10:41
Change comment:
There is no comment for this version
To version 5.1
edited by Ludovic Dubost
on 2009/04/30 10:33
on 2009/04/30 10:33
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 1.01 +XWiki 2.0 - Content
-
... ... @@ -1,5 +1,5 @@ 1 - This works but will includethe content of the macrodocumentin theyntax 1.0 document.Thisis notproblem in syntax.0as long as only white spaces or white lines are coming outofthe document. Now we could make a slight modification to #includeMacrosto catch theresulting content and not show it.2 - 3 - #includeMacros("Test.TestMacroSyntax10")1 +{{include document="Test.TestMacroSyntax10" output=false /}} 2 +{{velocity}} 3 +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 4 4 #mymacroinsyntax10doc("World") 5 - 5 +{{/velocity}}