Core attributes

Purpose

The class and id attributes can be used as style sheet selectors, allowing you to assign style information to a set of elements. The id attribute can also be used to indicate a link target.

All XDIME elements with the exception of otherwise may have an expr attribute. Its use on the select and when elements is described separately in those contexts.

Attributes

Attribute Description Type Default Options Use
class Assigns a class name to an element. xs:NMTOKEN none    optional 
expr Contains an MCS expression. If it evaluates to 'true' the element is processed, otherwise the element and its children are skipped and processing continues at the next element. xs:string none    optional 
id Assigns an identifier to an element. xs:ID none    optional 
title Information about the element. Visual browsers usually display the title on the mouseover event. xs:string none    optional 

Related topics