2.232 .name

With the layout resources color, font and tile, this attribute specifies the name of the resource. For color resources, .name can be one of the system’s predefined color names. With fonts, it can be the system identifier of one of the fonts available on the system. With tiles, .name can be the path of an image file.

This attribute defines the program ID of the OLE Server for a control object.

For the doccursor, the attribute returns the tag name of the current DOM node.

With the mapping object this attribute defines a pattern for nodes of an XML tree or an IDM object hierarchy.

Definition

  • Data type

    string

  • Access

    get, set

    get (doccursor)

  • changed event

    yes

control

For an OLE Client, this attribute has to be set to the name or ProgID of the corresponding server.

For an OLE Server the content of this attribute is written as server name into the registry.

Example

model control CtTest
{
  mode    mode_client;
  name    "InternetExplorer.Application.1";
  visible true;
  active  true;
  connect false;
}

mapping (XML)

This attribute defines a pattern for nodes of an XML tree or an IDM object hierarchy. When the pattern matches a node during a transformation, the :action() method of the mapping object is called for this node.

Please refer to the description of the mapping object in the manual “XML Interface” for the syntax of the pattern.

doccursor (XML Cursor)

Please note that an XML Cursor, whose attribute .mapped possesses the value false, will automatically be positioned to the root of the DOM Document.