Skip to main content

How to Handle Duplicate Attributes When Importing XML into a Price List?

When importing attributes using XML, duplicates occur

Written by Lenka Haringerová

When updating a price list using an XML file import, attribute duplication may occur. The following example will help you resolve this issue:

In the current version, the update can be simulated by deleting the previous attributes using a filter, for example as follows:

<?xml version="1.0" encoding="utf-8"?>
<winstrom version="1.0">
<atribut filter="typAtributu='code:POVRCHOVÁ ÚPRAVA'" and cenik='ext:IMPORT:EG 91662'" action="delete"/>
<atribut>
<typAtributu>code:POVRCHOVÁ ÚPRAVA</typAtributu>
<hodnota>chrom</hodnota>
<cenik>ext:IMPORT:EG 91662</cenik>
</atribut>
Did this answer your question?