====== Simple XML Renderer ====== ---- plugin ---- description: Renders a Page as a simple XML. It just renders all tokens of the DokuWiki parser as XML. author : Patrick Büker email : patrick@patrickbueker.de type : renderer lastupdate : 2010-03-15 compatible : depends : conflicts : similar : tags : xml export downloadurl: http://patrickbueker.de/dokuwiki/simplexml.tgz bugtracker : # eg. https://github.com//dokuwiki-plugin-simplexml/issues sourcerepo : # eg. https://github.com//dokuwiki-plugin-simplexml/ donationurl: ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Syntax and Usage ===== I've made this plugin to explore the possibility to export pages as simple XML files. I mostly wanted to use the output for tests and XSL translations. Now I'm working on an XSLT stylesheet to create PDFs. But maybe DocBook would be the better way. So maybe I'll rewrite the renderer to output DocBook. ===== Notes ===== The renderer writes the XML tags very much in the same order the renderer API is called. To produce well formed XML it was necessary to tweak the output of sections, so that they don't interleave. Also the header, which normally would be rendered before the section, is pulled into the corresponding section, which makes more sense XML-wise. The renderer is not very much tested, please report errors to the email address above, thanks.