XML technologies / MathML / Presentation elements / ms

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

Syntax

<ms>PCDATA</ms>

Description

The ms element is used to represent string literals, a concept of importance for programming languages and computer algebra systems. By default, its contents are rendered enclosed in quotation marks.

Attributes

This element accepts the nine attributes common to all token elements. In addition, it accepts the two attributes shown in the following table.

Table: Attributes of ms.

Attribute

Values

Default

lquote

character

&quot;

rquote

character

&quot;

These attributes have the following meaning:

  • lquote: specifies the character that appears at the start of the string.

  • rquote: specifies the character that appears at the end of the string.

   

 

 

 

 

back to top