Hi,
In some case where we are sending data to a file and their may case data contain EOL itself which will be a data issue to other system which process file.
In such cases we have to handle EOL in XSLT only.
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/db/top/Load_PROJ_SCM_V_Data"
xmlns:oraxsl="http://www.oracle.com/XSL/Transform/java"
">
<oracle-xsl-mapper:schema>
<!--SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY.-->
<oracle-xsl-mapper:mapSources>
<oracle-xsl-mapper:source type="WSDL">
</oracle-xsl-mapper:target>
</oracle-xsl-mapper:mapTargets>
<!--GENERATED BY ORACLE XSL MAPPER 12.1.3.0.0(XSLT Build 140529.0700.0211) AT [TUE MAY 21 03:13:57 EDT 2019].-->
</oracle-xsl-mapper:schema>
<!--User Editing allowed BELOW this line - DO NOT DELETE THIS LINE-->
<!-- this is called an identity template -->
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:for-each select="@*">
<xsl:attribute name="{name()}">
<xsl:value-of select="normalize-space()"/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="text()">
<xsl:value-of select="normalize-space()"/>
</xsl:template>
</xsl:stylesheet>
In some case where we are sending data to a file and their may case data contain EOL itself which will be a data issue to other system which process file.
In such cases we have to handle EOL in XSLT only.
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/db/top/Load_PROJ_SCM_V_Data"
xmlns:oraxsl="http://www.oracle.com/XSL/Transform/java"
">
<oracle-xsl-mapper:schema>
<!--SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY.-->
<oracle-xsl-mapper:mapSources>
<oracle-xsl-mapper:source type="WSDL">
</oracle-xsl-mapper:target>
</oracle-xsl-mapper:mapTargets>
<!--GENERATED BY ORACLE XSL MAPPER 12.1.3.0.0(XSLT Build 140529.0700.0211) AT [TUE MAY 21 03:13:57 EDT 2019].-->
</oracle-xsl-mapper:schema>
<!--User Editing allowed BELOW this line - DO NOT DELETE THIS LINE-->
<!-- this is called an identity template -->
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:for-each select="@*">
<xsl:attribute name="{name()}">
<xsl:value-of select="normalize-space()"/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="text()">
<xsl:value-of select="normalize-space()"/>
</xsl:template>
</xsl:stylesheet>
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn Oracle course
ReplyDeleteThanks to the blogger for sharing such explanatory codes.
ReplyDeleteTableau Soap Connection
your valuable information and time. Please keep updating.
ReplyDeleteOracle SOA Suite Training
Oracle SOA Training in Hyderabad
sudecrisdzuTulsa Chris Hollis https://wakelet.com/wake/dAIx1h7jZNcO0KLTJxFeG
ReplyDeletedestluacoval
YdempciZdempme1985 Jessica Gilmore click
ReplyDeleteclick
click here
click here
ommeperthough
Utricinsu-do_1985 Jessica Wright MorphVOX Pro
ReplyDeleteReiBoot Pro
Site
workpulinthumb
Mriocu0nae-ji-Downey Carlos Ruiz Download
ReplyDeletePrograms
carnidoma