Gibson335 |
Member |
|
Sweden |
|
|
None Specified |
|
Monday, September 18, 2017 |
Monday, March 18, 2019 9:12:33 AM |
10 [0.06% of all post / 0.00 posts per day] |
|
Unchecking "Validate XML files used in transformation" seems to solve this problem.
|
I know this has been answered before, but is it still impossible to disabling that default attributes are added to the transformed output? I get a lot of attributes added when making a simple identity transform, and this is not desired...
|
Great initiative. I'm hoping that I can contribute to this topic in the future. I'm just beginning to using this tool so I'm not that Confident in my skills just yet ;-)
|
Yes it is. Sorry for the late reply, but my PC just got the better of me for a while...
|
Thank you - worked like a charm :-)
|
Source xml-fragment: <legend> <deflist> <term>1.</term> <def>Target A</def> <term>2.</term> <def>Target B</def> <term>3.</term> <def>Target D</def> </deflist> </legend>
Target xml-fragment: <legend> <definitionList> <definitionListItem> <listItemTerm>1.</listItemTerm> <listItemDefinition> <para>Target A</para> </listItemDefinition> </definitionListItem> <definitionListItem> <listItemTerm>2.</listItemTerm> <listItemDefinition> <para>Target B</para> </listItemDefinition> </definitionListItem> <definitionListItem> <listItemTerm>3.</listItemTerm> <listItemDefinition> <para>Target D</para> </listItemDefinition> </definitionListItem> </definitionList> </legend>
Since I have no element to connect to my parent element "definitionListItem", I get into some problems. One element containing all listItemTerms is created when I do not connect anything, but that is not the desired structure. Can I achieve this in MapForce or do I have to write this directly in xslt?
|
|