Skip to Content

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

XSLT help

Hi,

Could you please provide me XSLT code to convert below structure? (just adding a namespace prefix to a specific node).. I

Source structure:

<ns0:WriteProdToSB xmlns:ns0="http://tempuri.org/StokbarPlus/ProdService">

<strFilenameOrXML><prdord><ORDHDR>

<AUART>ZUC1</AUART>

<AUFNR>000025045551</AUFNR><STRDAY>20070120</STRDAY><SHTNR>1</SHTNR><ARBPL>TANK1010</ARBPL>

<ORDDTL0><MATNR>C004016</MATNR><GMENGE>21600000.000</GMENGE><GMEINS>KG</GMEINS><ORDDTL1><POSNR>0020</POSNR><IDNRK>W099330</IDNRK>

<MENGE>3672.000</MENGE><MEINS>KG</MEINS></ORDDTL1></ORDDTL0></ORDHDR></prdord></strFilenameOrXML>

<EntegrasyonTip>itOnline</m:EntegrasyonTip>

</ns0:WriteProdToSB>

Target structure:

<ns0:WriteProdToSB xmlns:ns0="http://tempuri.org/StokbarPlus/ProdService">

<ns0:strFilenameOrXML><prdord><ORDHDR>

<AUART>ZUC1</AUART>

<AUFNR>000025045551</AUFNR><STRDAY>20070120</STRDAY><SHTNR>1</SHTNR><ARBPL>TANK1010</ARBPL>

<ORDDTL0><MATNR>C004016</MATNR><GMENGE>21600000.000</GMENGE><GMEINS>KG</GMEINS><ORDDTL1><POSNR>0020</POSNR><IDNRK>W099330</IDNRK>

<MENGE>3672.000</MENGE><MEINS>KG</MEINS></ORDDTL1></ORDDTL0></ORDHDR></prdord></ns0:strFilenameOrXML>

<EntegrasyonTip>itOnline</m:EntegrasyonTip>

</ns0:WriteProdToSB>

Former Member

Helpful Answer

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