Skip to Content
0
Former Member
Sep 16, 2006 at 05:35 AM

XSLT mapping

32 Views

Hi Guys,

I have to mapp the complete Idoc xml structure into a Single variable(String type) using XSLT.

Source structure is Eg:

<?xml version="1.0" encoding="UTF-8"?>

<MATMAS04>

<IDOC BEGIN="1">

<EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<MANDT>850</MANDT>

<DOCNUM>0000000000670745</DOCNUM>

<DOCREL>640</DOCREL>

<STATUS>30</STATUS>

<DIRECT>1</DIRECT>

<OUTMOD>2</OUTMOD>

...

..

Target variable is "Input" , type <xsd:string> .

I want all the above mentioned Idoc-xml into Input.

right now im getting the above values of the nodes but not the XML tags.

Could you please gimme a piece of XSLT for this ?

Thanks in advance

Kiran