on 04-27-2009 11:12 PM
Hi folks,
Just need your inputs,
Can PI ignore Cdata tags in Messages?
'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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wow...amazing thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your responses,
I will get back to you on this question with a clear picture soon
Hank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.