X.ARR:
Attributes


BUILTIN

Certain variables are built into the CML application. At present these are all from mol.dtd which uses X.ARR as part of the C.AT and related elements. If you are not using CML/mol.dtd you don't need to worry about this field. Ideally this attribute should be in the mol.dtd since it is 'derived' from X.ARR, but I haven't thought of the best way yet.

Value(s)

Default Value

#IMPLIED

COLUMNS

Number of columns if X.ARR is a 2-D matrix.

Value(s)

CDATA

Default Value

#IMPLIED

DELTA

See START

Value(s)

CDATA

Default Value

#IMPLIED

EXPAND

Signals to the application that repeated values may be compressed (e.g. "1 1 1 2 2 1" is represented as "3*1 2*2 1". EXPAND takes the values 'YES' or 'NO' (default), signalling whether the apllication should attempt to decompress. ('NO' should be used whenever there is a possibility of '*' occurring where it could cause confusion). An application only needs to scan the content for '*' if EXPAND=YES. Fields may NOT contain whitespace or quotes (' or ") (e.g. 4*"Hello 'World'" is not allowed).

Value(s)

Default Value

no

HREF

The HREF attribute is inherited from HTML2.0 and is used consistently throughout CML. It serves as the tail of a hyperlink, whose semantics are being developed by Murray Maloney and others of the HTML-WG as an Internet draft.

Here is some more information.

Value(s)

CDATA

Default Value

#IMPLIED

KEY

If the X.ARR is a column of a relational table, KEY can be given the values PRIMARY or SECONDARY. Default is #IMPLIED.

Value(s)

Default Value

#IMPLIED

METHODS

Operations on destination (advisory) (HTML 2.0)

Value(s)

NAMES

Default Value

#IMPLIED

NAME

NAME specifies the target of a hyperlink and must be unique within a document. Here is some more information.

Value(s)

CDATA

Default Value

#IMPLIED

REL

The REL attribute is inherited from HTML2.0 and is used consistently throughout CML. It describes the target of a hyperlink, whose semantics are being developed by Murray Maloney and others of the HTML-WG as an Internet draft.

In CML glossaries are used extensively with the syntax:
REL=glossary
The

Value(s)

NAMES

Default Value

#IMPLIED

REV

The REV attribute is inherited from HTML2.0 and is used consistently throughout CML. It describes the backwards relationship of a hyperlink, whose semantics are being developed by Murray Maloney and others of the HTML-WG as an Internet draft.

At present CML does not specify a use and it should evolve in parallel with what the WWW community decides.

Value(s)

NAMES

Default Value

#IMPLIED

ROWS

Number of rows if X.ARR is a 2-D matrix.

Value(s)

CDATA

Default Value

#IMPLIED

SHAPE

The form of a 2-dimensional matrix (if appropriate). At present:

Whether the application validates these against the ROWS and COLUMNS attribute is undefined.

Value(s)

Default Value

#IMPLIED

SIZE

Dimension of array. If not given, the application is required to determine this from the number of whitespace-separated tokens. If there is a possibility of error, SIZE is recommended.

Value(s)

CDATA

Default Value

#IMPLIED

START

An array in arithmetic sequence (e.g. 1 3 5 7 ...) can be defined by a START value, a DELTA value, and SIZE. This only holds for FLOATs and INTEGERS - dates, etc. cannot be represented this way. If used, START, DELTA and SIZE are all mandatory, but are otherwise optional. For a 2-D matrix, START, DELTA, ROWS and COLUMNS must be given, and SIZE is ignored. The COLUMNS is the fastest moving index.

Value(s)

CDATA

Default Value

#IMPLIED

TITLE

The TITLE attribute is inherited from HTML2.0 and is used consistently throughout CML. In HTML 2.0 it is advisory only, but you are encouraged to use it in CML since it is used to label many of the displays, tables, etc. Virtually all CML elements have this attribute.

Value(s)

CDATA

Default Value

#IMPLIED

TYPE

The type of the array element, at present chosen from:

DATE.
An ISO-6501 date (e.g. 1995-09-23).
FLOAT.
A real number (with or without decimal point) .
INTEGER.
An integer.
STRING.
A string. If the string contains whitespace, it should be quoted with ' or ". If it has embedded quotes, use the other sort. This is the default.
TIME.
An ISO-6501 time
OTHER. Other types of element.

The default TYPE is STRING. It's up to the application how TYPE is treated.

Value(s)

Default Value

string

UNITS

Physicochemical units of the object.

Value(s)

CDATA

Default Value

#IMPLIED

URN

Permanent address of destination (HTML 2.0)

Value(s)

CDATA

Default Value

#IMPLIED
Back to X.ARR


cml DTD