Extension:XMLContentExtension

The XMLContentExtension extension adds XML namespaces in which all articles are treated as XML documents. These documents can be validated with XML Schema and transformed with XSLT. Schema and XSLT documents can be stored on the wiki as well.

Usage
After successful installation, new namespaces will be available. If you want to create an XML document, use the XML namespace like so: example.org/wiki/XML:New_Document. This document may refer to an XML Schema which the document will be validated against. The Schema may also reside on your wiki, using the namespace "Schema:" (instead of XML:). Likewise, there is a namespace for XSLT documents called "XSLT:". You can use XSLT documents to convert your XML document to wikitext. Use a processing instruction for that, like so: . As you can see, references to stylesheets don't need a complete URL if they are located on the same wiki. You have to use the alternate-attribute and the title "wikitext".

The source of all documents under the aforementioned namespaces can be viewed by appending "/source" to the URL, e.g. example.org/wiki/XML:New_Document/source. You can also get nothing but the raw XML file by appending "/raw", e.g. example.org/wiki/XML:New_Document/raw.