link

Purpose

Defines a link. Multiple links and relationships may be defined for a single document. Refer to the topic entitled Document relationship links for more information.

The qualified-name values 'mcs:layout' and 'mcs:theme' can be used in the rel attribute to bind layout and theme policies to an XDIME 2 page. They belong to the http://www.volantis.com/xmlns/2006/01/xdime/mcs namespace, which must be declared. The attributes are optional, though their use is recommended. If these attributes are not present, MCS will use the default project values for layout and theme, and failing that will attempt to render a page using built in values.

The qualified-name value 'mcs:application' can be used to bind the application descriptor to an XDIME 2 page. Refer to the topic entitled The application descriptor for details.

Page authors can use the value 'icon' in the rel attribute to bind an icon to an XDIME 2 page. Refer to the topic entitled Associating an icon with a page for more information.

Contains

Attribute groups

Attribute

Attribute Description Type Default Options Use
rel Defines the relationship to the target. The values given are specific to MCS. xs:QName chapter, contents, first, icon, index, last, next, prev, section, subsection, top, up, mcs:application, mcs:layout, mcs:theme  required 
srctype A list of the allowable content types referenced by the href attribute. Refer to the topic entitled Associating an icon with a page for more information. xs:string none    optional 

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
  xmlns:mcs="http://www.volantis.com/xmlns/2006/01/xdime/mcs">
  <head>
    <title>link</title>
    <link rel="mcs:layout" href="/welcome.mlyt"/>
    <link rel="mcs:theme" href="/xdime-2/welcome.mthm"/>
  </head>
  <body>
    <div class="logo">
      <span>Antenna Software, Inc.</span>
    </div>
  </body>
</html>

Related topics