Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to insert a new line character inside <CDATA> tag in the source xml data file?

Avatar

Former Community Member
values for form fields in the xml data file is contained inside CDATA tags which is an Unparsed Format.



Eg: [CDATA[IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665]] delimited by "~" char



Actual o/p:-

IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665



Expected o/p is like :-

IBM-01

DSHFSJDSJ

FGFGFJ,

VA 665665



live cycle product does not interpret ~ as a newline character. Please suggest which character should be used instead inside CDATA section or if there is any other way to fix this?
0 Replies