How are checkboxes represented in XML?

Checkboxes are most often used in justice agency forms to select either “Yes” or “No.”   In Information Technology a check box is a graphical user interface element that permits the user to make multiple selections from a number of options. Normally, check boxes are shown on the screen as a square box that can contain white space (for false) or a tick mark or X (for true).   Adjacent to the check box is normally shown a caption describing the meaning of the check box. The initial value of a checkbox can be defined to be checked or not.

In XML, the representation of a checkbox is as a Boolean type, which is one of the primitive types provided by programming languages as basic building blocks. Typical primitive types include:

·          Character

·          Integer (with a variety of precisions)

·          Floating-point number with binary representation usually conforming to the IEEE standards for floating point representation;

·          Fixed-point with a variety of precisions and a programmer-selected scale.

·          Boolean, having the values true and false.

·          String, a sequence of characters

·          Reference (also called a "pointer" or "handle"), a small value referring to another object, possibly a much larger one.