element <link>
Namespace:
Type:
anonymous complexType
Content:
empty, 6 attributes
Defined:
globally in eruditarticle.xsd, see XML source
Includes:
definitions of 6 attributes
Used:
XML Representation Summary
<link
    xlink:actuate
 = 
("onLoad" | "onRequest" | "other" | "none")
    xlink:from
 = 
xs:NMTOKEN
    xlink:show
 = 
("new" | "replace" | "embed" | "other" | "none")
    xlink:title
 = 
xs:token
    xlink:to
 = 
xs:NMTOKEN
    xlink:type
 = 
("simple" | "extended" | "locator" | "arc" | "resource" | "title")
/>
May be included in elements (1):
Known Usage Locations
Annotation
Label
Link
Description
It is an arc-type XLink element. It must be the child of an extended XLink-type element, in this case, the “linkgr” element. This element is used to bridge two resources located by pointers. The link specifies the direction of the connection (source->destination), as well as the rules for the display mode of the target resource and for activating the hyperlink.
Examples
example 1
<!-- Exemple avec valeurs d’attributs par défaut -->
<linkgr>
    <!-- Notes -->
    <!-- no1 -->
    <pointer xlink:href="#re1no1" xlink:label="re1no1" xlink:title="Appel de note 1" />
    <pointer xlink:href="#no1" xlink:label="no1" xlink:title="Note 1" />
    <link xlink:type="arc" xlink:from="re1no1" xlink:to="no1" xlink:title="Afficher la note 1" />
    <link xlink:type="arc" xlink:from="no1" xlink:to="re1no1" xlink:title="Retour à l’appel de note 1
    dans le texte" />
</linkgr>
XML Source (w/o annotations (7); see within schema source)
<xs:element name="link">
<xs:complexType>
<xs:attribute fixed="arc" ref="xlink:type" use="required">
</xs:attribute>
<xs:attribute default="replace" ref="xlink:show">
</xs:attribute>
<xs:attribute default="onRequest" ref="xlink:actuate">
</xs:attribute>
<xs:attribute ref="xlink:from" use="required">
</xs:attribute>
<xs:attribute ref="xlink:to" use="required">
</xs:attribute>
<xs:attribute ref="xlink:title">
</xs:attribute>
</xs:complexType>
</xs:element>
Attribute Detail (defined in this component only; 6/6)
xlink:actuate
Type:
anonymous (restriction of xs:NMTOKEN)
Use:
optional
Label
Hyperlink activation
Description

Specifies how the hyperlink is activated, generally when the resource containing the link is loaded or when the user clicks on it.

none
no activation mode specified (it can be assumed that the link is not activated in the XML application)
onLoad
link is automatically activated when the resource containing it is loaded
onRequest
page displays when user clicks on (or activates) the hyperlink
other
link activation method is not covered by the XLink specification, but the XML application must find the activation instructions in an attribute of the link
References
xlink:actuate (http://www.w3.org/TR/xlink/#actuate-att)
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"onLoad", "onRequest", "other", "none"
Default:
"onRequest"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="onRequest" ref="xlink:actuate">
</xs:attribute>

xlink:from
Type:
xs:NMTOKEN, predefined
Use:
required
Label
Origin of the link
Description
Standardized attribute in XLink namespace that tells the XML application the origin of the current link. The value of the attribute corresponds to the value of the “xlink:label” attribute of the pointer to that origin.
Comments
The value of this attribute must correspond to the value of the “xlink:label” attribute of a “pointer” element.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute ref="xlink:from" use="required">
</xs:attribute>

xlink:show
Type:
anonymous (restriction of xs:NMTOKEN)
Use:
optional
Label
Display mode
Description
link
Attribute that tells the user agent how to display the link’s destination resource (i.e. “pointer” URI).
erratum
Attribute that tells the user agent how to display the resource targeted by the link (corresponding to the URI assigned as the HREF’s value).
audio, image, video
Attribute that tells the user agent how to display the resource targeted by the link (for example, an image whose file is indicated by the URI assigned as the HREF’s value).
simplelink
Attribute that tells the user agent how to display the resource targeted by the link.
embed
the resource should be inserted into the page
new
the resource (document) is displayed in a new window
none
no display mode specified
other
another display mode not covered by the XLink specification, but the XML application must find the activation instructions in an attribute of the link
replace
the resource replaces the current page
References
xlink:show (http://www.w3.org/TR/xlink/#show-att)
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"new", "replace", "embed", "other", "none"
Default:
"replace"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="replace" ref="xlink:show">
</xs:attribute>

xlink:title
Type:
xs:token, predefined
Use:
optional
Label
linkgr
Link group's title
pointer
Pointer's title
lien
Link's title
audio, erratum, image, simplelink, video
Hyperlink's title
Description
linkgr
Descriptive title that can be given to the link group.
pointer
Descriptive title that can be given to the pointer. This makes it possible to give it a type or give the user instructions/information about the resource associated with the pointer.
link
Descriptive title that can be given to an instance of a hyperlink. This makes it possible to give it a type or give the user instructions/information.
audio, erratum, image, video
Descriptive title that can be given to the hyperlink. This makes it possible to give it a type or give the user instructions/information.
simplelink
Descriptive title that can be given to the hyperlink. This makes it possible to give it a type or give the user instructions/information about the resource targeted by the link.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute ref="xlink:title">
</xs:attribute>

xlink:to
Type:
xs:NMTOKEN, predefined
Use:
required
Label
Destination of the link
Description
Standardized attribute in XLink namespace that tells the XML application the destination of the current link. The value of the attribute corresponds to the value of the “xlink:label” attribute of the pointer to that destination.
Comments
The value of this attribute must correspond to the value of the “xlink:label” attribute of a “pointer” element.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute ref="xlink:to" use="required">
</xs:attribute>

xlink:type
Type:
anonymous (restriction of xs:NMTOKEN)
Use:
required
Label
XLink type
Description

Standardized attribute indicating the element’s type in the XLink namespace.

arc
extended
locator
resource
simple
title
References
xlink:type (http://www.w3.org/TR/xlink/#link-types)
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"simple", "extended", "locator", "arc", "resource", "title"
Fixed:
"arc"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute fixed="arc" ref="xlink:type" use="required">
</xs:attribute>

XML schema documentation generated with DocFlex/XML 1.7.0 using DocFlex/XML | XSDDoc 2.0.0 template set