OL Learn

HTML Form Data To XML with nodes

When I submit my form I am getting a flat XML document out. I would like to have the XML data formatted in tree form to make datamapping easier. Is there a way to do that in my form or do I need to do that in the datamapper? And how?

Thanks

Welcome to our community, Dogsrule!

Your best bet would be to transform your XML using Workflow’s Open XSLT task. However, I am not sure I understand your statement “I would like to have the XML data formatted in tree form to make datamapping easier”. Could you post samples of the current structure and of the desired structure so we can better understand what you’re looking for?

Make sure the samples contain only anonymized data.