Schema Central > Atom > syndication.xsd > atom:link
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

atom:link

a reference from an entry or feed to a Web resource

Element information

Namespace: http://www.w3.org/2005/Atom

Schema document: syndication.xsd

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
xml:base [0..1]xsd:anyURIfrom group atom:atomCommonAttributes
xml:lang [0..1]Anonymousfrom group atom:atomCommonAttributes
Any attribute[0..*]Namespace: ##other, Process Contents: skipfrom group atom:local
href [1..1]xsd:anyURIthe link's IRI
rel [0..1]Anonymousthe link relation type. If the "rel" attribute is not present, the link element MUST be interpreted as if the link relation type is "alternate"
type [0..1]atom:atomMediaTypean advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced
hreflang [0..1]atom:atomLanguageTagthe language of the resource pointed to by the href attribute. When used together with the rel="alternate", it implies a translated version of the entry
title [0..1]xsd:stringhuman-readable information about the link
length [0..1]xsd:stringan advisory length of the linked content in octets; it is a hint about the content length of the representation returned when the IRI in the href attribute is mapped to a URI and dereferenced

Used in

Sample instance

<link rel="alternate" type="text/html"
      hreflang="en"
      href="http://example.org/"/>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com