Developer forum

Forum » Development » Import/Export xsl transformation

Import/Export xsl transformation


Reply
Hi!

I'm trying to import a product from a csv-file.

Transformation from csv to xml works fine.

When I transform the resulting xml file using xslt and then import that xml-file, the product gets imported.

But when I instead run the step "xsl-transform -> Product destination" I get these errors:

4:31 PM Produktdestination XML validation error: The 'Product' element is not declared.
4:31 PM Produktdestination Process Error: Object reference not set to an instance of an object.

When I use an xml-file destination I can set the root-element of that file and importing that file afterwards works fine, but when using the step "xsl-transform -> product" destination there is no option for this.

Best regards,
Per

Replies

 
Reply
Hi!
Per, can you give me a URL to help you on that?

Best regards, Vladimir
 
Reply
Are you an Dynamicweb employee? Can't find your email.

// Per
 
Nicolai Høeg Pedersen
Reply
He is and the e-mail is vsh (at) dynamicweb.dk
 
Reply
Hi, I sent the url to you by email.

Best regards,
Per
 
Reply

Hi Per!

I sent you  a Product2.xslt.  I think it’s allow to import products in one transaction)

Best regards, Vladimir

 

You must be logged in to post in the forum