on 09-03-2008 12:58 PM
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>
i think you included namespace already.
correct me if i am wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved with Java mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.