Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Prefix inside XML tags


I am working on a scenario where I need to insert prefix to XML tags that belong to Header section. Following is an example of it -




  <sh:Identifier Authority="GS1">5412345000013</sh:Identifier>


  <sh:Contact>John Doe</sh:Contact>
















As can be seen, prefix 'sh' is added to the header only. When sending out, 'sh' needs to be inserted and incoming messages to PI will have 'sh' prefixed to header elements too.

Is only XSLT mapping a best solution for this or someone has experience handling in some other way ?

Would appreciate if someone can share XSLT code for it.


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question