Subject:Mapping content based instead of schema based. Author:Edwin Lanckbeen Date:31 Aug 2004 05:45 AM
Hi,
Is there a way to extent the mapper with a content based mapping function?
You would be the first!
I’m asking this question because I have to transform many XML files coming from a system who export all data in the same generic schema.
see attached sample file.
The system defines all fields as attributes in stead of elements.
In the end the mapper is useless for these kind of files and I have to write all mappings manually.
Subject:Mapping content based instead of schema based. Author:Ivan Pedruzzi Date:31 Aug 2004 10:53 AM
Hi Edwin,
You could try a 2 steps process. Use the following XSLT to get a structure driven document, then use mapper to do the second step.
Hope this helps
Ivan