on 08-15-2013 9:30 PM
Hi,
if standard function is not working for you try with xslt.
check below code is helpful to achieve this.
xsl code
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0 = "wsTC">
<xsl:output method="xml" encoding="UTF-8" indent = "yes" />
<xsl:template match="/">
<ns0:GenerarSolicitud>
<ns0:xmlSolicitud>
<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
<SOLICITUD_TARJETA><ZSOLICITUD_TARJ>
<xsl:copy-of select="//ZSOLICITUD_TARJ/*"/>
</ZSOLICITUD_TARJ></SOLICITUD_TARJETA>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</ns0:xmlSolicitud>
</ns0:GenerarSolicitud>
</xsl:template>
</xsl:stylesheet>
output
<?xml version="1.0" encoding="UTF-8"?>
<ns0:GenerarSolicitud xmlns:ns0="wsTC">
<ns0:xmlSolicitud><![CDATA[<SOLICITUD_TARJETA>
<ZSOLICITUD_TARJ>
<TIPOSOLICITUD_ID/>
<CANAL_ID/>
<GENERA_PLASTICO/>
<LINEA_COD/>
<SIS_COD/>
</ZSOLICITUD_TARJ>
</SOLICITUD_TARJETA>]]></ns0:xmlSolicitud>
</ns0:GenerarSolicitud>
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
What's the output structure u r expecting?
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ernesto,
Once you use returnAsXML, you can use concat function with a delimiter to map the 2 source segments and map it directly to xmlSolictud.
I am not sure what is your requirement.
hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.