Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create xml from deep structure renaming structure names to tag names

Clemenss
Active Contributor
0 Kudos

Hi,

Hope I'm right here.

We definded a deep structure containing internal tables with internal tables for components. After creating a simple transformation using transaction XSLT_TOOL we have a nice xml but still the technical (Z-) structure names for node tags.
Is there a simple way to adapt the transformation that the tags are named as we want it?

Replacing in the xml string is not an option. Using a second transformation to transform the names is not an option.

What is the exact way to change the transformation code?

Thank you all.

Clemens

1 REPLY 1

Clemenss
Active Contributor

... the best answers are the ones you get from yourself 🙂

Just rename the tags and corresponding end tags in the transformation source code.

I.e. inside a loop we have tags as DDIC structure name like <zxyzs> and </zxyzs>. Just repklaced zxyzs with my_own_name and everything is fine.

As nobody gave any answer or comment here I still hope it may help.

Regards Clemens