PHP/Javascript

PHP and , like XML and , use the left bracket ( < ) to deliniate the start of a tag, so require the special opening tag delimiter ( <![CDATA[ ) and closing tag delimiter ( ]]> ) to be used. Embedding PHP/JavaScript, unlike XML and HTML, requires additional opening and closing special delimiters ( [[[ and ]]] ) to prevent Gigatrees from attempting to clean up line breaks embedded in the code. Only web programmers have a need to embed PHP/JavaScript code, most users can ignore this tidbit. A generic example might just look like this:

<Tag>
   
   <Tag>
     <![CDATA[
       [[[
         <?php echo("Helo World"); ?>  <!-- PHP code -->
       ]]]
     ]]>
   </Tag>   
   
</Tag>
Comments