# CDATA in graph

**URL:** <https://forum.cloverdx.com/t/cdata-in-graph/341>\
**Category:** CloverDX Platform\
**Created:** [June 26, 2008, 12:00am UTC](https://forum.cloverdx.com/t/cdata-in-graph/341 "2008-06-26T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [June 26, 2008, 12:00am UTC](https://forum.cloverdx.com/t/cdata-in-graph/341/1 "2008-06-26T00:00:00Z")

</div>

Hello,

which is the terminology for the possibility to embed a code within the XML Graph description. Is that something extra Clover specific?  
Is the syntax Java or Java script or only similar?  
To embed: \<![CDATA …?

I mean e.g.:

```auto

…
<Node enabled="enabled" guiHeight="0" guiName="Reformat" guiWidth="0" guiX="306" guiY="67" id="REFORMAT0" type="REFORMAT">
<attr name="transform"><![CDATA[string customer;
function transform(){
if (length($0.text)==36){
customer = substring($0.text,0,2);
}
$0.customer := customer;
$0.text := $0.text;
}
]]></attr>
</Node>

…

```

Thank you,

Kind regards,  
P.[/code]

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [June 26, 2008, 7:19am UTC](https://forum.cloverdx.com/t/cdata-in-graph/341/2 "2008-06-26T07:19:49Z")

</div>

Hi,  
this is standard xml syntax (see [CDATA Sections](http://www.javacommerce.com/displaypage.jsp?name=cdatasec.sql&id=18238)) and is used to escape blocks of text containing characters which would otherwise be recognized as markup.
