XactCommerce Xact Objects
Home
News
XactCommerce
Typical Applications
Custom Development
Private Backend
XactScript Language
Performance
Deployment
Partners
Portfolio
About Us
leXml Language < Tags < leXml Tag Reference: !CDATA

The <![CDATA[ ]]> tag is used to turn off the XML parser for a block of code.

Body of the <![CDATA[ ]]> tag:

    The code you wish the leXml parser to ignore

Attributes of the <![CDATA[ ]]> tag:

    None

Examples of the <![CDATA[ ]]> tag:

    <![CDATA[
    <font size=2 color=red><B>i can type bad html here</FONT></b>
    ]]>



    <![CDATA[
    <style type="text/css">
    ]]>
    <_if expr="($msie)=(true)"/>
       .bodytext {font-size: 13px;}
    <_else/>
       .bodytext {font-size: 14px;}
    <_endif/>
    <![CDATA[
    </style>
    ]]>




    <_set name="itemlisttemplate"><![CDATA[
       <tr><td bgcolor="#ffffff">
       <a href="iteminfo.lexml?item_id=##ID##"><img
       src="##TNPHOTO##"></a>
       </td><td bgcolor="#ffffff">
       <a href="iteminfo.lexml?item_id=##ID##">
       <b>##NAME##</b></a><br>
       ##SHORTDESC##<br>
       Weight: ##UNIT##<br>
       Price: $##PRICE##<br>
       ##SALE##
       </td></tr>
    ]]></_set>