on 05-28-2012 1:18 PM
Hi All,
I am working on cXML to IDoc scenario and want to know how to remove !DOCTYPE cXML SYSTEM from the xml because my mapping is throwing an error.
I have searched the solution for this problem but didn't quite find the correct solution.
Actual Message
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML xml:lang="en" payloadID="44108.16188.52343.32310.1@ebs" timestamp="2012-04-26T14:32:23+10:00">
I have tried XSLT and JAVA Mapping but still no luck
XSLT
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="no"/>
<xsl:template match="/">
<xsl:copy-of select="cXML" />
</xsl:template>
</xsl:stylesheet>
Error
Transformer exception occurred when executing XSLT IA_XSLT_removeDTD/removeDTD (urn:linde.com:xi:A_B2B_XX:CustomerIntegration, -1, 5aa31b80-0835-11dc-af43-f443ac120353)
JAVA
I have got the code from SAP Note: 812966
Error
Application mapping program
DeleteDTDDeclarationWithDOM throws a stream transformation exception: Connection timed out
Can anybody please tell me how to solve this problem.
Thanks,
Iqbal
Similar kind of requirement answered many times.. search in SCN..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.