cancel
Showing results for 
Search instead for 
Did you mean: 

Want PI to ignore Cdata tags....

Former Member
0 Kudos

Hi folks,

Just need your inputs,

Can PI ignore Cdata tags in Messages?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

'm sorry,

I need to remove Cdata tags from every req msg hitting PI.

I need to add Cdata tags to every resp msg outbound from PI.

Is XSLT the only way out?

GabrielSagaya
Active Contributor
0 Kudos

XI: XML node into a string with graphical mapping?

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Moreover you can read this thread:

Please look into the reply of Henrique

Answers (6)

Answers (6)

Former Member
0 Kudos

wow...amazing thanks

Former Member
0 Kudos

Here is the req;

I need to add CDATA tags to every inbound msg,

I need to remove CDATA tags of every msg outbound from PI,

Is XSLT the only option?

Former Member
0 Kudos

Thanks for your responses,

I will get back to you on this question with a clear picture soon

Hank

Former Member
0 Kudos

Yes by default it will do

i.e if payload contains some extra tags like < & > you can send them with in CDATA tags,Once data reaches to PI then you can write XSLT for reading payload within CDATA tags which I have done recently

Rajesh

Former Member
0 Kudos

All text in an XML document will be parsed by the parser.
But text inside a CDATA section will be ignored by the parser
Characters like "<" and "&" are illegal in XML elements.

"<" will generate an error because the parser interprets it as the start of a new element.

"&" will generate an error because the parser interprets it as the start of an character entity.
Some text, like JavaScript code, contains a lot of "<" or "&" characters. To avoid errors script code can be defined as CDATA.


former_member732072
Active Participant
0 Kudos

Hi,

Please have a look at the following links and see if it helps you.

Best Regards

Former Member
0 Kudos

Hi Jovani,

Can you please tell the complete requirement.

If you are talking about CDATA like the payload coming into one string or you want payload in one string then you can do it in xsl mapping. For that please do a search in SDN. You should be able to get few hits.

Regards,

---Satish