X.VAR:
Attributes


BUILTIN

Some DTDs derived from XML may use BUILTIN variables.

Value(s)

Default Value

#IMPLIED

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

METHODS

Operations on destination (advisory) (HTML 2.0)

Value(s)

NAMES

Default Value

#IMPLIED

N

Repeat count of content (only to be used within X.ARR, please) (optional)

Value(s)

NUMBER

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

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 variable, at present chosen from:

array.
An 'array' of whitespace separated items - this is rather horible but has significant performamce and readability advantages. Example: <X.ARR><X.VAR>1 2 3 "foo bar" 42</X.VAR></X.ARR>
date.
An ISO-6501 date.
float.
A real number (with or without decimal point) .
id.
A bibliographic ID (e.g. database number, MEDLINE abstract, CAS registry, etc) No format imposed (ADH_ECOLI, 1INS, 89033912, etc)
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. The default TYPE.
link.
A link, using the A syntax. Embed in quotes for safety.
time.
An ISO-6501 time.
other. Other types of element.

It is up to the application what use is made of TYPE.

Value(s)

Default Value

string

UNITS

Physicochemical units (optional)

Value(s)

CDATA

Default Value

#IMPLIED

URN

Permanent address of destination (HTML 2.0)

Value(s)

CDATA

Default Value

#IMPLIED
Back to X.VAR


cml DTD