Hello,
i've got this XML schema
and i want this
PRENOMNOMEMAILtest prenomtest nomtestemail.com
i've tried lots of thing s with XML flattener but nothing succeed.
can you help me
Thx
Hello,
i've got this XML schema
and i want this
PRENOMNOMEMAILtest prenomtest nomtestemail.com
i've tried lots of thing s with XML flattener but nothing succeed.
can you help me
Thx
Best answer by trentatsafe
Hello @krowix,
Once you have read in the XML, there are one of two methods you could carry out to pivot your attributes/values. The easiest, I think, will be to use the AttributeTransposer. This is a custom transformer that can be found on the FME Hub: https://hub.safe.com/transformers/attributetransposer
It will allow you to re-map the attributes and the value based on an existing attribute.
I've attached a sample workspace that will carry that out based on a subset of your XML preview.
xml-transpose.fmwt
I hope that helps.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.