11-13-2020 06:45 PM
i have book.xml file with book.XSD file and trying convert into csv file but book.xml missing some element in the xml file. In CSV file required and present and missing element information should visible with blank value with header.
I have tried xml parser and mapper and xml formatter but not able produce missing element in xml for bk003[],bk004[genre>,]
testxml and XSD.txt (1.8 KB)
11-15-2020 11:04 PM
@shavadivu, you can find the XSD file used in the XML Formatter of my pipelines.
11-16-2020 05:54 AM
Thanks and I have tried with attached example xml with XSD file but CSV formatter failed with data need to flatten output of json parser. but CSV requirement is same.
XML file reading from Folder and XML file some elements May or may not come but If elements come then CSV file should have elements header and value else CSV file should have element header with blank value
BOOKORDER_XSD and XML.txt (4.1 KB)