Defines a hyperlink in the document.

Type Information

Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name wordnet

Elements and Attributes

Child Elements

Element Type Description
r rElt Represents the run element. This is the leaf container for data in a Word document -- text, pictures, and so.
fldSimple simpleFieldType Represents simple Word field (with plain text instructions). These fields are run-time calculated entities in Word (for example, page numbers).
hlink hLinkType Represents the hyperlink element (analogous to HTML <a href=...> tag).

Attributes

Attribute Type Required Description Possible Values
bookmark stringType optional Specifies the bookmark location in the document that the hyperlink will jump to.
target stringType optional Specifies the frame target for the hyperlink (that is, the frameset).
screenTip stringType optional Specifies the text to show as a ScreenTip for this hyperlink.
arbLocation stringType optional Tracks locations in documents that have no bookmark targets. Used internally by Word.
noHistory onOffType optional Gets or sets whether to add this target to the history list when it is navigated to.
  • on
  • off
dest stringType optional Gets or sets the hyperlink destination.

Definition

XML

<xsd:complexType name="hLinkType" ">
    
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element name="r" type="rElt">
        
      </xsd:element>
      <xsd:element name="fldSimple" type="simpleFieldType" minOccurs="0" maxOccurs="unbounded">
        
      </xsd:element>
      <xsd:element name="hlink" type="hLinkType">
        
      </xsd:element>
      <xsd:group ref="runLevelElts"></xsd:group>
      <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="skip"></xsd:any>
    </xsd:choice>
    <xsd:attribute name="bookmark" type="stringType" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="target" type="stringType" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="screenTip" type="stringType" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="arbLocation" type="stringType" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="noHistory" type="onOffType" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="dest" type="stringType" use="optional">
      
    </xsd:attribute>
  </xsd:complexType>

©2006 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at:
http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp