on 2017 Jun 20 12:00 PM
Hello Experts
We have a XSLT mapping Error for cXML message where <!DOCTYPE> tags are coming . Please advise how to remove these <!DOCTYPE> tags from the cXML message.Below is the sample CXML message with DOCTYPE tags
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://****.org/schemas/cXML/****/cXML.dtd">
<cXML timestamp="2015-06-15T02:37:52-07:00" payloadID="******">
<Response>
<Status code="200" text="OK"></Status>
</Response>
</cXML>
Request clarification before answering.
Simple put one java mapping in the OM before your XSLT mapping.
In Java mapping split
<!DOCTYPE cXML SYSTEM "http://****.org/schemas/cXML/****/cXML.dtd"> portion from inputstream and replace with blank.
If your XSLT mapping is expecting the format only without this then it should work properly.
Anyway, You can handle the same in XSLT mapping as well I guess.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.