Jump to content
lemonline

Difference between 2 XML files - One doesn´t work

Recommended Posts

Hello, this is my first post on the forum, hope you can help me because I´ve been struggling with this for a few months now. I´m also noy very good at coding, so it has been mostly try and error all the way.

I´m exporting an xml file from stock management program, and then importing it to a woocommerce, wordpress site. The file contains around 1600 products, but the importer plugin (wp-all-import) is only reading the first 40 products. BUT! if pass the file trough a XML formater, like this one: https://www.freeformatter.com/xml-formatter.html ... then it reads all the products. So it works but I have to add this manual step, and I like it to be automated. Link to the original file: https://www.dropbox.com/s/qqfyn1ncbux7vrs/Articulos.xml?dl=0

I´m kind of sure it has something to do with the format of the XML. Can anyone look at my original fial an tell me what is wrong with it?

thanks a lot!

 

Share this post


Link to post
Share on other sites

If it stops reading after a certain product, find that last product in the XML file and check the product after it to see if there are any characters or anything which might cause a problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×