pc:case

Previous Next

Identifies a script section that is executed only if a variable has a specific value.

pc:case is only legal as a child element of a pc:switch element:

Syntax

<pc:switch select="variable-reference">

   [     <pc:case value="xpath-expression"> content </pc:case>

         ...   ]

         <pc:default> content </pc:default>

</pc:switch>

 

See

pc:switch

Script control