DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:simplexml

This is an old revision of the document!


Simple XML Renderer

Compatible with DokuWiki

No compatibility info given!

plugin Renders a Page as a simple XML. It just renders all tokens of the DokuWiki parser as XML.

Last updated on
2010-02-25
Provides
Render

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to xml

Tagged with export, xml

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. 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.

plugin/simplexml.1267223307.txt.gz · Last modified: 2010-02-26 23:28 by 74.93.99.97

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki