I was able to import an xml file with namespaces, by setting the xpath to //mpx:books as the xpath expression. I used a different document with a different schema, but this would be the equivalent. (In the actual mapping I didn't put any namespaces).

I get however this error message twice:
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /var/www/vhosts/.../httpdocs/includes/database.mysql.inc on line 321.

It seems to be related.

Comments

chrisirhc’s picture

Sorry, firstly, I'm not looking at these issues, I haven't been checking. Just saw this today.

Thanks for your offer to populate the wiki, I think you can just go ahead and populate the wiki. You could either that or help out with improving the README.txt, heh. I'm currently not a maintainer of this module. I may contact the owner soon to see whether he/she is interested in adding me in. :)

It's rather unusual that you'll get that message. Do you have only two records in the xml file?
It might be that for it couldn't find the field and outputted an empty array object.