GeoGebra

CasSession XML tag

Jump to: navigation, search

The syntax of the <casSession> tag is the following:

<casSession>
 <cellPair>
     <inputCell>
         ...         <-- subtags and attributes
     </inputCell>
     <outputCell>
         ...         <-- subtags and attributes
     </outputCell>
 </cellPair>
</casSession>


Example:

<casSession>
 <cellPair>
     <inputCell>
         <expression value="4+4"/>     <-- content of expression
         <color r="0" g="1" b="0"/>    <-- color of the input panel
     </inputCell>
     <outputCell>
        <expression value="8"/>       <-- result content
        <color r="0" g="1" b="0"/>    <-- color of the output panel
     </outputCell>
 </cellPair>
</casSession>