Wiki source code of XWiki Syntaxes
Version 48.17 by Vincent Massol on 2012/02/02
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{groovy}} | ||
2 | def content = xwiki.getURLContent('https://raw.github.com/xwiki/xwiki-enterprise/master/xwiki-enterprise-ui/src/main/resources/XWiki/XWikiSyntax.xml') | ||
3 | def dummyDoc = xwiki.getDocument("Dummy") | ||
4 | dummyDoc.getDocument().fromXML(content) | ||
5 | println "{{html clean='false'}}${dummyDoc.getRenderedContent()}{{/html}}" | ||
6 | {{/groovy}} |