Need example : D7 + XPath parser to import (mediawiki) XML - xpath parser settings? I've installed XPath/Feeds/D7, but I don't know how to configure XPath parser settings.

Maybe someone can help me to set it right.

I just want to inject &lt;title&gt; and &lt;text xml:space="preserve"&gt; to my node.

I need help to configure my XPath Parser settings : admin/structure/feeds/edit/my_import/settings/FeedsXPathParserXML

I've the following XML structure :

&lt;mediawiki xmlns="http://www.mediawiki.org/xml/export-0.3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3" xml:lang="fr"&gt;
  &lt;siteinfo&gt;
    &lt;sitename&gt;Site Name&lt;/sitename&gt;
    &lt;base&gt;http://domain.net/index.php/StartPage&lt;/base&gt;
    &lt;generator&gt;MediaWiki 1.15.5-1~bpo50+1&lt;/generator&gt;
    &lt;case&gt;first-letter&lt;/case&gt;
    &lt;namespaces&gt;
      &lt;namespace key="-2"&gt;Media&lt;/namespace&gt;
      &lt;namespace key="-1"&gt;Special&lt;/namespace&gt;
      &lt;namespace key="0" /&gt;
      &lt;namespace key="1"&gt;Chat&lt;/namespace&gt;
      &lt;namespace key="2"&gt;user&lt;/namespace&gt;
      &lt;namespace key="3"&gt;Chat user&lt;/namespace&gt;
      &lt;namespace key="4"&gt;domain.net&lt;/namespace&gt;
      &lt;namespace key="5"&gt;Chat domain.net&lt;/namespace&gt;
      &lt;namespace key="6"&gt;files&lt;/namespace&gt;
      &lt;namespace key="7"&gt;Chat files&lt;/namespace&gt;
      &lt;namespace key="8"&gt;MediaWiki&lt;/namespace&gt;
      &lt;namespace key="9"&gt;Chat MediaWiki&lt;/namespace&gt;
      &lt;namespace key="10"&gt;Model&lt;/namespace&gt;
      &lt;namespace key="11"&gt;Chat model&lt;/namespace&gt;
      &lt;namespace key="12"&gt;help&lt;/namespace&gt;
      &lt;namespace key="13"&gt;Chat help&lt;/namespace&gt;
      &lt;namespace key="14"&gt;category&lt;/namespace&gt;
      &lt;namespace key="15"&gt;Chat category&lt;/namespace&gt;
    &lt;/namespaces&gt;
  &lt;/siteinfo&gt;
  &lt;page&gt;
    &lt;title&gt;Drush&lt;/title&gt;
    &lt;id&gt;579&lt;/id&gt;
    &lt;revision&gt;
      &lt;id&gt;1637&lt;/id&gt;
      &lt;timestamp&gt;2012-05-25T14:51:51Z&lt;/timestamp&gt;
      &lt;contributor&gt;
        &lt;username&gt;admin&lt;/username&gt;
        &lt;id&gt;1&lt;/id&gt;
      &lt;/contributor&gt;
      &lt;comment&gt;/* Install Drupal with Drush */&lt;/comment&gt;
      &lt;text xml:space="preserve"&gt;Drush is a command line utility.

=Install Drupal with Drush=
To install drupal with drush :
 drush site-install standard --db-url=mysql://username:pass@localhost/databasename

[[category:Drupal]]&lt;/text&gt;
    &lt;/revision&gt;
  &lt;/page&gt;
  &lt;page&gt;
    &lt;title&gt;Memcache&lt;/title&gt;
    &lt;id&gt;586&lt;/id&gt;
    &lt;revision&gt;
      &lt;id&gt;1287&lt;/id&gt;
      &lt;timestamp&gt;2012-02-12T17:43:32Z&lt;/timestamp&gt;
      &lt;contributor&gt;
        &lt;username&gt;admin&lt;/username&gt;
        &lt;id&gt;1&lt;/id&gt;
      &lt;/contributor&gt;
      &lt;comment&gt;Do it under Debian&lt;/comment&gt;
      &lt;text xml:space="preserve"&gt;=Install=
==Debian==
===Memcache Server===
To install :
 aptitude install memcached

Read and change ''/etc/memcached.conf''.
===PHP5 / PECL===
Install memcache PECL :
 php5-memcache
or
 pecl install memcache

Restart Apache.

===Drupal===
* InstallMemcache module in Drupal.
* Change ''settings.php'' :
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['memcache_key_prefix'] = 'site_prefix';
&amp;lt;/source&amp;gt;

Read : http://drupal.org/node/1131458


[[category:Linux]]

[[category:Drupal]]&lt;/text&gt;
    &lt;/revision&gt;
  &lt;/page&gt;
&lt;/mediawiki&gt;


Optional task : How can I convert "=" to &lt;h1&gt;, "==" to &lt;h2&gt;, space before start of line to &lt;pre&gt;, [[category:xyz]] to Tags, etc ... ?
Context should be : //Mediawiki/page,  Title field should be title and Text should be revision/text.