Skip to Content
avatar image
Former Member

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:

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:

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>

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 03, 2008 at 01:08 PM

    i think you included namespace already.

    correct me if i am wrong

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 10:34 AM

    Solved with Java mapping

    Add comment
    10|10000 characters needed characters exceeded