Skip to Content

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

XML to string in XSL mapping

Hi All,
Im trying to achieve the following transformation by using XSL mapping:

Input
<ROOTNODE>
<NODEPARAMETERS>
<USER>ABC</USER>
<PASSWORD>DEF</PASSWORD>
<REQUESTID>12321</REQUESTID>
</NODEPARAMETERS>
<NODEMESSAGE>
<DESTINATION>453453453</DESTINATION>
<TEXT>TESTING</TEXT>
<SOURCE>31232</SOURCE>
</NODEMESSAGE>
</ROOTNODE>

Output
USER=ABC&PASSWORD=DEF&REQUESTID=12321
<NODEMESSAGE>
<DESTINATION>453453453</DESTINATION>
<TEXT>TESTING</TEXT>
<SOURCE>31232</SOURCE>
</NODEMESSAGE>

Basically, im trying to output the node parameters as string and node message as XML in a single output.
Is this possible via XSL mapping?
If so, how is it done?

Regards,
J

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