There is no real written specification for the XAR format so you will
have to look at the implementation. You can get most XML elements
names in
classes for example.

That being said IMO the easiest for your need would be to write a
Input Filter for MediaWiki and then can reuse XAR output filter. See and
you can find input/output XAR and input Confluence filters on
to provide you with well tested examples.

On Thu, Jun 4, 2015 at 8:43 PM, Mehdi Oulmakki <> wrote:
> Hello everyone,
> I am writing a script to translate XML exports of Mediawiki pages into the
> XAR format that XWiki can import.
> My challenge is that I have not found a formal definition of what the
> page's xml as well as the package xml should be, as they do not contain
> schema information.
> I have been "reverse engineering" the definition by looking at some
> exports, but if anyone is aware of where the definition could be found it
> would be extremely helpful.
> Thanks!
> _______________________________________________
> users mailing list

Thomas Mortagne
users mailing list

Reply via email to