0
Contributor
,
/t5/indesign-discussions/js-how-to-add-cdata-section-to-xml/td-p/9965855
Jun 25, 2018
Jun 25, 2018
Copy link to clipboard
Copied
var tagRoot = new XML("<test>");
tagRoot.FirstElem = "First";
tagRoot.SecondElem = "Second";
alert(tagRoot);
I want to add CDATA section to element like below.
<test>
<FirstElem><![CDATA[First]]></FirstElem>
<SecondElem>Second</SecondElem>
</test>
Please help me.
Thanks in advance.
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
People's Champ
,
Jun 26, 2018
Jun 26, 2018
Can't…this is a known limitation…
People's Champ
,
LATEST
/t5/indesign-discussions/js-how-to-add-cdata-section-to-xml/m-p/9965856#M107283
Jun 26, 2018
Jun 26, 2018
Copy link to clipboard
Copied
Can't…this is a known limitation…
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

