Wiki source code of XWikiSyntax
Version 47.1 by Vincent Massol on 2009/09/16
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
47.1 | 1 | {{velocity filter="none"}} |
2 | {{html clean="false" wiki="true"}} | ||
![]() |
44.1 | 3 | $context.setCacheDuration(100000) |
![]() |
47.1 | 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/> | ||
![]() |
6.1 | 7 | #set ($newdoc = $xwiki.getDocument("Dummy")) |
8 | #set ($newdocprivate = $newdoc.getDocument()) | ||
![]() |
44.1 | 9 | $newdocprivate.fromXML($content) |
![]() |
47.1 | 10 | $newdoc.setSyntaxId("xwiki/2.0") |
11 | <p/> | ||
12 | ##$xwiki.parseContent($newdoc.content) | ||
13 | $newdoc.getRenderedContent() | ||
![]() |
1.1 | 14 | |
![]() |
47.1 | 15 | {{/html}} |
16 | {{/velocity}} |