2011/1/10 Roan Kattouw <roan.kattouw@gmail.com>
2011/1/10 He Rui <rhe@redhat.com>:
> Hi all,
>
> How can I convert/export a wiki page to xml file by using the API:data
> formats[1]? If the wiki page is [2], how can I get the xml file of it?
>
To get an XML file that can be imported into another wiki using
Special:Import or importDump.php , use

http://en.wikipedia.org/w/api.php?action=query&titles=Wiki&export&exportnowrap

Is that what you were looking for?

If you're trying to convert wikitext into xml,  there're talks  in progress about, but the best you can get so far is
XHTML 1.0 Transitional... that is simply the code of html pages built by servers after parsing od wikitext. Am I wrong?

Alex brollo