Wiki source code of XWikiSyntax
Version 47.1 by Vincent Massol on 2009/09/16
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity filter="none"}} | ||
2 | {{html clean="false" wiki="true"}} | ||
3 | $context.setCacheDuration(100000) | ||
4 | ##set ($content = $xwiki.getURLContent("http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/wiki/src/main/resources/XWiki/XWikiSyntax.xml")) | ||
5 | #set ($content = $xwiki.getURLContent("http://svn.xwiki.org/svnroot/xwiki/enterprise/branches/xwiki-enterprise-2.0/wiki/src/main/resources/XWiki/XWikiSyntax.xml")) | ||
6 | <p/> | ||
7 | #set ($newdoc = $xwiki.getDocument("Dummy")) | ||
8 | #set ($newdocprivate = $newdoc.getDocument()) | ||
9 | $newdocprivate.fromXML($content) | ||
10 | $newdoc.setSyntaxId("xwiki/2.0") | ||
11 | <p/> | ||
12 | ##$xwiki.parseContent($newdoc.content) | ||
13 | $newdoc.getRenderedContent() | ||
14 | |||
15 | {{/html}} | ||
16 | {{/velocity}} |