Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I am facing an issue trying to insert a tag <![CDATA[ in an xml file.
This is what I would like to have :
I need to insert a tag <
![
CTDATA[
between <Name> and <Code>Here is my job in Talend to do so :
and the content of tXMLMap_1 (output) :
I need to add sub elements (like <code>) in <Name> and since i am doing this, I can't no more
add
the tag <![
CTDATA[
as an expression in Name.Any idea about how to handle this ?
Thanks !
Hello,
As CDATA indicates Unparsed Character Data. It will be ignored by XML parser.
If you want to get CDATA, select "Get Nodes" option for this column and use tReplace to remove its node.
Please have a look at this related topic about: Adding tag <![CDATA[ to XML
https://community.talend.com/s/feed/0D53p00008BbGq7CAF
Best regards
Sabrina