on 09-16-2006 6:35 AM
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
Hi,
You can use copy-of XSLT function to achieve that
<input>
<xsl:copy-of select="path" />
</input>
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.