<
From version < 50.3 >
edited by Manuel Smeria
on 2013/01/16
To version < 50.4 >
edited by Vincent Massol
on 2013/02/18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ManuelSmeria
1 +XWiki.VincentMassol
Content
... ... @@ -74,7 +74,7 @@
74 74  
75 75  ==== xpage ====
76 76  
77 -* ##plain##: this value indicates that only the content of the page is printed (no UI). With a document that's not using the 1.0 syntax you can control the output syntax using ##outputSyntax## and ##outputSyntaxVersion##. You can also pass another parameter named ##raw## which allows you more control:
77 +* ##plain##: this value indicates that only the content of the page is printed (no UI). With a document that's not using the XWiki 1.0 syntax you can control the output syntax using ##outputSyntax## and ##outputSyntaxVersion##. You can also pass another parameter named ##raw## which allows you more control:
78 78  ** ##raw=1##: Returns the page source as is without any formatting but XML-escaped
79 79  ** ##raw=2##: Returns the page source as is without any formatting (without any escaping)
80 80  * ##xml##: print the exported form of a document. This is what you can find in the xar for each document.
... ... @@ -81,7 +81,7 @@
81 81  
82 82  ==== outputSyntax and outputSyntaxVersion ====
83 83  
84 -With a document that's not using the 1.0 syntax it's possible to explicitly indicate the renderer to use for the page content. For example with ##outputSyntax=plain## you will get the result in plain text. ##outputSyntaxVersion## is an optional parameter, if it's not provided XWiki will search for the last version of the renderer for the given ##outputSyntax## syntax name. Note that outputSyntax controls only the document content output syntax. If you only want the document content you can use ##xpage=plain##.
84 +With a document that's not using the XWiki 1.0 syntax it's possible to explicitly indicate the renderer to use for the page content. For example with ##outputSyntax=plain## you will get the result in plain text. ##outputSyntaxVersion## is an optional parameter, if it's not provided XWiki will search for the last version of the renderer for the given ##outputSyntax## syntax name. Note that outputSyntax controls only the document content output syntax. If you only want the document content you can use ##xpage=plain##.
85 85  
86 86  See [[extensions:Extension.Rendering Module]] for more details on renderers.
87 87  

Get Connected