Skip to Content
author's profile photo Former Member
Former Member

Handling CDATA in PI

Hello,

I am receiving input message in CDATA format with ISO-Latin-1 encoding ,Will PI be able to parse this

How to check whether CDATA received is correct format or not ,Is it possible to check the same using XML SPY?

Replies will be very helpful

Rajesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2009 at 01:54 PM

    Hi,

    basically it should not be problem to parse it - done this before without any issues - as long as the XML containing CDATA is well-formed. You could use XSLT within mapping step to extract the data and pass it into a XML with propper encoding (e.g. ISO-8859-1) and then process it.

    Regards,

    Kai

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 21, 2009 at 02:17 PM

    Dear Rajesh,

    You can write Java modules to parse and generate the required XML format and add the module in adapter.

    Regards,

    JP.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.