1
Need to map the xml comments
Question asked by Patrice Ardouin - 8/10/2021 at 6:21 PM
Answered
Hello,
I use DataMapper to map a xml file to an Excel file.
In xml file the previeous developper used comments fields to describe the elementvalue
Mapping row by row, I want to map the 'elementvalue' to a column and 'comments' to another column.
But I can't find a 'comment' in the xsd I created from the xml, there is no 'comment' attribute..
Please, how could I do to map the comments ?

1 Reply

Reply to Thread
0
Liquid Support Replied
Employee Post Marked As Answer
Hi,
As comments can be arbitrarily added anywhere inside the XML document, there is no matching item within the XSD.
You would need to create real elements or attributes within the XSD to be able to map the data.

Reply to Thread