Tag: cdata
The wcf:cdata tag sets the specified data in XML format within a CDATA section and encodes the string that ends a CDATA section to avoid nested CDATA sections.
The tag is intended for use within a JSP page that is serializing an XML document. The tag wraps the specified data string in <![CDATA[...]]> code and ensures that the nested wcf:cdata tags are encoded and do not affect the XML document.
Tag information Body Content empty
Attributes
Attribute Required Request-time Type Description data true true java.lang.String The data in XML format that is to be reformatted in a CDATA section and encode the string that ends a CDATA section to avoid nested CDATA sections.
Variables
No variables are defined for the wcf:cdata tag.
Example
The following example uses the wcf:cdata tag:
<lDesc><wcf:cdata data="${description.longDescription}"/></lDesc>
Related reference
WebSphere Commerce foundation tag library