Schema Documentation - Newsfeed Aggregator Profile
version 1.0

Attributes

Back to
main menu

The abbr attribute

The abbr attribute specifies an abbreviated header value.

Usage Example

<table>
	<tr>
		<th abbr="length">Length (as far as complete)</th>
		<th abbr="depth">Depth of each ramus</th>
	</tr>
	…
</table> 
	

Parent elements

This attribute occurs on the th element

Attribute content model

text
Back to
main menu

The associate attribute

The associate attribute identifies the child element of a block to which all other children are bound.

The associate attribute takes a single IDREF that must point to one of its children as a value. All the other children assume an implict reference to the element through this value, allowing the ref attribute to be omitted from them.

Usage Example

<block role="figure" associate="quail-isle">
    <hd>Figure 1 — Quail Island</hd>
    <object src="qi.png" xml:id="quail-isle" />
    <caption>An image of the island from the sea.</caption>
    <citation>Photo courtesy …</citation>
</block>
    

Parent elements

This attribute occurs on the block element

Attribute content model

some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The IDREF datatype: An IDREF TokenizedType, as defined in section 3.3.1 of XML.
Back to
main menu

The brlFormat attribute

This attribute is contributed by the DIAGRAM Description Feature.

The brlFormat attribute expresses processing information for a d:braille element.

The attribute takes as its value one or more tokens.

Parent elements

This attribute occurs on the d:braille element

Attribute content model

some data of type NMTOKENS compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The NMTOKENS datatype: A space-separated list of NMTOKEN TokenizedTypes.
Back to
main menu

The by attribute

The by attribute expresses the contributor of an element to the document source, such as the author, editor, a republisher, etc.

The by attribute allows a single CURIE as its value, which must be bound to an RDF property using the mechanism defined in CURIE.

All descendants of an element that declares a by attribute value implicitly inherit that value. In the absence of an expressed relationship, the implicit value author is assumed.

Usage Example

<annotation by="editor" role="correction">
	<p>...</p>
</annotation>
	

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The class attribute

The class attribute provides the ability to express general classifying or commonality between elements.

This attribute inherits all the fundamental properties of the (X)HTML class attribute and is usable in the context of CSS styling.

The class attribute is not used to inflect semantics or structure on elements or their contents. Refer to the role attribute for more information on how to layer semantic meaning on elements.

Usage Example

<p>… under the complex and sometimes varying conditions of life, will have a better chance of surviving, 
	and thus be <emph class="italic">naturally selected</emph>.</p>
	

Attribute content model

some data of type NMTOKENS compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The NMTOKENS datatype: A space-separated list of NMTOKEN TokenizedTypes.
Back to
main menu

The colspan attribute

The colspan attribute specifies the number of columns spanned by the current cell.

The implicit value of this attribute is 1. The value 0 indicates that the cell spans all columns from the current column to the last column of the colgroup in which the cell is defined.

Usage Example

<table>
	<tr>
		<th colspan="2">Length (as far as complete)</th>
		<td datatype="xs:integer">17</td>
		<td datatype="xs:integer">6</td>
	</tr>
	<tr>
		<th colspan="2" rowspan="2">Depth of each ramus</th>
		<td datatype="xs:integer">4</td>
		<td datatype="xs:integer">9</td>
	</tr>
	<tr>
		<th colspan="2" />
		<td datatype="xs:integer">3</td>
		<td datatype="xs:integer">18</td>
	</tr>
</table>
	

Parent elements

This attribute occurs on the following elements: td and th

Attribute content model

some data of type nonNegativeInteger compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern [0-9]+
The NonNegativeInteger datatype : A non-negative integer.
Back to
main menu

The continuation attribute

The continuation attribute provides a generic mechanism to establish a logical continuation of the current element cross one or more other elements in the document scope.

The continuation attribute must contain one or more space separated references to the IDs of the associated elements. Note that the element that carries the continuation attribute must not be referenced in this list.

The order in which the references appear in the attribute value is not significant (i.e., the reference order need not match the document order of the referenced elements). Only elements with the same QName as the parent element of the attribute can be referenced (e.g., a paragraph cannot list a table as a continuation). Additionally, only elements following the current element in the document order may be referenced as continuations. Elements that are referenced as continuations must not have continuation attributes themselves.

Logical connections allow for special formatting of elements when generating outputs (to establish the connection between emphasis that continues across multiple paragraphs for braille formatting, for example). When the continuation attribute has been attached to an element, all formatting instructions that apply to that element also apply to all the elements referenced in the attribute. Formatting instructions on the logical siblings, however, do not cascade.

A processing agent that does not recognize logical connections must be able to process each individual element in the continuation without requiring special knowledge of the elements that came before (i.e., inheritance of formatting cannot be assumed).

Usage Example

<p><emph xml:id="em1" class="italic" continuation="em2">
	"Et in Spiritum Sanctum, Dominum et vivificantem, qui ex Patre Filioque procedit. 
	Qui cum Patre et Filio simul adoratur et conglorificatur. Qui locutus est per prophetas.</emph></p>
<p><emph xml:id="em2" class="italic">
	"Et unam Catholicam et Apostolicam Ecclesiam. Confiteor unum Baptisma in remissionem peccatorum. 
	Et exspecto Resurrectionem mortuorum. Et vitam venturi saeculi. Amen."</emph></p>
	

Attribute content model

a white space separated list of
one or more of
some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The IDREF datatype: An IDREF TokenizedType, as defined in section 3.3.1 of XML.
Back to
main menu

The depth attribute

The depth attribute specifies the nesting depth of the current element in relation to ancestors of the same type.

An element's name alone does not infer an ancestral relationship; the usage context is equally important. For example, the depth of the first index section is not influenced by the number of structural sections that may enclose the index.

The outermost ancestor has the implied depth value 0.

Usage Example

<section xml:id="alice-p1" role="part">
	<h>Part I.</h>
	<section xml:id="alice-c1" role="chapter" depth="1">
		<h>Chapter I.</h>
		<list type="ordered">
			<item>
				…
				<list type="ordered" depth="1">
					<item>…</item>
				</list>
			</item>
		</list>
		…
	</section>
	…
</section>
	

Parent elements

This attribute occurs on the following elements: list and section

Attribute content model

some data of type nonNegativeInteger compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern [0-9]+
The NonNegativeInteger datatype : A non-negative integer.
Back to
main menu

The desc attribute

The desc attribute establishes the connection between the current element and its associated accessible description (s).

The desc attribute must contain one or more space separated references to the IDs of the associated descriptions.

Features may extend the use of this attribute, but not override the requirement that it resolve to a description. The Z39.98-2012 Content Selection feature, for example, provides a mechanism for pointing to a description based on the format being rendered.

Usage Example

<object src="mouse.png" desc="mouse-desc" />
<description xml:id="mouse-desc" by="republisher" role="content">
    <p>...</p>
</description>
    

Attribute content model

a white space separated list of
one or more of
some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The NCName datatype: An XML non-colonized Name, as defined in section 3.3.7 of XML.
Back to
main menu

The headers attribute

The headers attribute specifies the list of header cells that provide header information for the current data cell.

This attribute requires a space separated list of valid ID references that resolves to th elements.

Usage Example

<table>
	<tr>
		<th colspan="2" xml:id="inches">Inches</th>
		<th xml:id="lines">Lines</th>
	</tr>
	<tr>
		<th xml:id="length">Length (as far as complete)</th>
		<td headers="length inches">17</td>
		<td headers="length lines">6</td>
	</tr>
	<tr>
		<th xml:id="depth">Depth of each ramus</th>
		<td headers="depth inches">4</td>
		<td headers="depth lines">9</td>
	</tr>
</table> 
	

Parent elements

This attribute occurs on the following elements: td and th

Attribute content model

a white space separated list of
one or more of
some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The IDREF datatype: An IDREF TokenizedType, as defined in section 3.3.1 of XML.
Back to
main menu

The its:dir attribute

The its:dir attribute specifies the base writing direction of the content.

If omitted, the implicit value ltr (left-to-right) is assumed.

The semantics of this attribute are defined by ITS. Refer to Directionality for more information.

Attribute content model

one of the following values
ltr
The writing direction is left-to-right. This is the implicit value of this attribute.
rtl
The writing direction is right-to-left.
lro
The writing direction is left-to-right override.
rlo
The writing direction is right-to-left override.
Back to
main menu

The its:translate attribute

The its:translate attribute indicates whether the content of an element is translatable or not.

If omitted, the implicit value yes is assumed.

The semantics of this attribute are defined by ITS. Refer to Translate for more information.

Attribute content model

one of the following values
yes
The content is translatable. This is the default value of this attribute.
no
The content is not translatable.
Back to
main menu

The rbspan attribute

This attribute is contributed by the ITS Ruby Feature.

Allows an its:rt element to span multiple its:rb elements in complex ruby markup.

If omitted, the implicit value 1 is assumed..

Refer to ITS Ruby for further information.

Parent elements

This attribute occurs on the its:rt element

Attribute content model

some data of type nonNegativeInteger compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern [0-9]+
The NonNegativeInteger datatype : A non-negative integer.
Back to
main menu

The ref attribute

The ref attribute provides a generic mechanism to establish an association between the current element and one or more other elements in the document scope.

The ref attribute must contain one or more space separated references to the IDs of the associated elements.

Usage Example

<verse>
    <ln xml:id="bw_1">Famed was this Beowulf:
        <annotation ref="bw_1">Not, of course, Beowulf the Great, hero of the epic.</annotation>
    </ln>            
    <ln>far flew the boast of him,</ln>
</verse>
    

Attribute content model

a white space separated list of
one or more of
some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The IDREF datatype: An IDREF TokenizedType, as defined in section 3.3.1 of XML.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately after the presentation of this role attribute.

Parent elements

This attribute occurs on the following elements: address (block variant) and address (phrase variant)

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the following elements: annotation (block variant) and annotation (phrase variant)

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the following elements: description (block variant), description (phrase variant) and description (text variant)

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the following elements: span (phrase variant) and span (text variant)

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the w element

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the abbr element

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the name element

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before and after the presentation of this role attribute.

Parent elements

This attribute occurs on the num element

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The role attribute

The role attribute expresses a semantic inflection on the nature or purpose of its parent element.

The attribute takes as its value one or more whitespace separated CURIEs RDFa, that must be bound to one or more RDF vocabularies either defined in the RDFa initial context document or by the prefix attribute.

The role attribute is intended to be functionally compatible with the WAI-PF role attribute ( ROLE) in its expression of document metadata to improve the accessibility of documents marked up to Z39.98-AI profiles.

Note: There are 9 different attributes with the name role. You will find information about the other role attribute(s) immediately before the presentation of this role attribute.

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The rowspan attribute

The rowspan attribute specifies the number of rows spanned by the current cell.

The implicit value of this attribute is 1. The value 0 indicates that the cell spans all rows from the current row to the last row of the current table section (rowgroup) in which the cell is defined (where the thead , tbody , and tfoot elements are considered rowgroups).

Parent elements

This attribute occurs on the following elements: td and th

Attribute content model

some data of type nonNegativeInteger compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern [0-9]+
The NonNegativeInteger datatype : A non-negative integer.
Back to
main menu

The scope attribute

The scope attribute specifies the set of data cells for which the current header cell provides header information.

This attribute may be used in place of the headers attribute, especially for simple tables.

Parent elements

This attribute occurs on the following elements: td and th

Attribute content model

one of the following values
row
The current cell provides header information for the rest of the row that contains it.
col
The current cell provides header information for the rest of the column that contains it.
rowgroup
The header cell provides header information for the rest of the row group that contains it.
colgroup
The header cell provides header information for the rest of the column group that contains it.
Back to
main menu

The src attribute

The src attribute contains a URI reference to an external resource to embed in the document, in place of the current element.

Only references to resources that conform to one of the types in the srctype attribute enumeration are allowed.

Usage Example

<object xml:id="mnt" src="mouse.png" srctype="image/png">
    <p>Drawing of a mouse very common on Quail Island.</p>
</object>
    

Parent elements

This attribute occurs on the following elements: object (block variant), object (phrase variant) and object (text variant)

Attribute content model

some data of type anyURI compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The anyURI datatype: A Uniform Resource Identifier Reference, as defined by the anyURI type in XML Schema Part2.
Back to
main menu

The srctype attribute

The srctype attribute contains a MediaType expression that identifies the type of resource referenced from the src attribute.

Usage Example

<object xml:id="mnt" src="mouse.png" srctype="image/png">
    <p>Drawing of a mouse very common on Quail Island.</p>
</object>
    

Parent elements

This attribute occurs on the following elements: object (block variant), object (phrase variant) and object (text variant)

Attribute content model

one of the following values
image/png
The referenced resource is a PNG image.
image/jpeg
The referenced resource is a JPEG image.
image/bmp
The referenced resource is a BMP image.
Back to
main menu

The start attribute

The start attribute specifies the ordinal value for the first list item's prefix.

If omitted, the implicit value 1 is assumed.

This attribute is only valid when used with ordered lists (as defined by the presence and value of the type attribute).

Usage Example

                
<list type="ordered" start="17">
    <item><p>Cytheræa — Closely related to, or identical with C. purpurascens.</p></item>
    <item><p>Modiola — Same as recent kind (nov. spec.) living in the bay.</p></item>
    <item><p>Nucula — Near to N. margaritacea.</p></item>
</list>
    

Parent elements

This attribute occurs on the list element

Attribute content model

some data of type integer compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The Integer datatype : An integer.
Back to
main menu

The time attribute

The time attribute contains a calendar or clock-based statement of time expressed in machine-readable form.

When this attribute appears on the time element, it contains an alternate rendition of the element's content.

The time attribute value must be valid to the Time datatype.

Parent elements

This attribute occurs on the time element

Attribute content model

one of the following
some data of type gYear compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type gYearMonth compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type gMonthDay compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type gDay compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type gMonth compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type date compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type time compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type dateTime compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern \d\d:\d\d
The TimeNoSeconds datatype: A derivation of the XSD time datatype that only includes hour and minute specifications. The lexical expression is hh:mm.
Back to
main menu

The type attribute

Specifies whether the items in the list are ordered or unordered.

Note: There are 2 different attributes with the name type. You will find information about the other type attribute(s) immediately after the presentation of this type attribute.

Parent elements

This attribute occurs on the list element

Attribute content model

the value unordered
The order of the items in this list is insignificant.
Back to
main menu

The type attribute

Specifies whether the items in the list are ordered or unordered.

Note: There are 2 different attributes with the name type. You will find information about the other type attribute(s) immediately before the presentation of this type attribute.

Parent elements

This attribute occurs on the list element

Attribute content model

the value ordered
The order of the items in this list is significant.
Back to
main menu

The value attribute

The annoref value attribute provides the number or symbol that represents the current annotation reference.

The value attribute allows any text string as an identifier.

Note: There are 2 different attributes with the name value. You will find information about the other value attribute(s) immediately after the presentation of this value attribute.

Parent elements

This attribute occurs on the annoref element

Attribute content model

some data of type token compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
minimum length must be 1
The NonEmptyString datatype : Specifies a value that must contain at least one non-whitespace character after whitespace normalization rules have been applied to the attribute value, as expressed through the XSD normalizedString datatype.
Back to
main menu

The value attribute

The value attribute provides the value of the num element in a machine-readable form.

Note: There are 2 different attributes with the name value. You will find information about the other value attribute(s) immediately before the presentation of this value attribute.

Usage Example

<p>The Origin of Species publication year is listed as <num role="roman" value="1859">mdccclix</num>.</p>
	

Parent elements

This attribute occurs on the num element

Attribute content model

some data of type token compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
minimum length must be 1
The NonEmptyString datatype : Specifies a value that must contain at least one non-whitespace character after whitespace normalization rules have been applied to the attribute value, as expressed through the XSD normalizedString datatype.
Back to
main menu

The xml:base attribute

The xml:base attribute specifies a base URI to use for resolving relative URI references, for instances where the base URI of the document or external entity is not appropriate.

The semantics and behaviors of this attribute are defined by XMLBase.

Usage Example

<citation>
	<ref xlink:href="http://plato.stanford.edu/entries/darwinism/">
		Darwinism
	</ref>
</citation>
	
<document xmlns="http://www.daisy.org/ns/z3998/authoring/" xml:lang="en-ca" xml:base="http://www.daisy.org/examples/" xml:space="preserve">
	…
</document>

Attribute content model

some data of type anyURI compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The anyURI datatype: A Uniform Resource Identifier Reference, as defined by the anyURI type in XML Schema Part2.
Back to
main menu

The xml:id attribute

The xml:id attribute specifies a unique identifier for the element.

No two elements in an xml document can have the same xml:id, including inside components that are appended to the primary document by xinclude statements or other means.

The semantics of this attribute are defined by XMLID.

Usage Example

<pagebreak xml:id="p474" value="474" />
	

Attribute content model

some data of type NCName compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The ID datatype: An ID TokenizedType, as defined in section 3.3.1 of XML.
Back to
main menu

The xml:lang attribute

The xml:lang attribute identifies the natural or formal language in which the content is written.

The semantics of this attribute are defined by XML. Refer to Language Identification for more information.

Usage Example

In the sea around <name xml:lang="es">Tierra del Fuego</name>, and at no great distance from the land, 
I have seen narrow lines of water of a bright red colour …
	

Attribute content model

one of the following
some data of type language compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
length must be 0
Back to
main menu

The xml:space attribute

The xml:space attribute indicates whether the whitespace within an element is significant.

The semantics of this attribute are defined by XML. Refer to White Space Handling for more information.

Usage Example

<block xml:space="preserve" role="letter">
    <ln>Alice's Right Foot, Esq.</ln>
    <ln>    Hearthrug,</ln>
    <ln>        Near the fender,</ln>
    <ln>            (with Alice's love).</ln>
</block>
	

Attribute content model

one of the following values
default
Signals that applications' default white-space processing modes are acceptable for this element.
preserve
Signals the intent that applications preserve white space for this element.

RDFa attributes

Back to
main menu

The RDFa about attribute

Description

The about attribute specifies the subject of a relationship. If not given, then the subject is the current document.

Usage Example

<head>
	<meta typeof="dramatis-personae">
		<meta xml:id="alice" about="#alice" property="persona">
			<name>Alice</name>
		</meta>
	</meta>
</head>
	

Attribute content model

some data of type anyURI compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The anyURI datatype: A Uniform Resource Identifier Reference, as defined by the anyURI type in XML Schema Part2.
Back to
main menu

The RDFa content attribute

Description

The content attribute specifies a string to use as an object for the property attribute.

Usage Example

<head>
	…
	<meta property="dc:identifier" content="daisy-z2012-exemplar-01" />
	…
</head>
	

Attribute content model

text
Back to
main menu

The RDFa datatype attribute

Description

The datatype attribute specifies a datatype of the object of the property attribute (either in the content attribute, or the content of the element that the datatype attribute is on.)

By default, data in the content attribute is of type string, and data in the content of an element has type xml:Literal. If datatype="" is used, then for the RDF the element content is stripped of markup, and is of type string.

Usage Example

<table>
	<tr>
		<th colspan="2">Length (as far as complete)</th>
		<td datatype="xs:integer">17</td>
		<td datatype="xs:integer">6</td>
	</tr>
	<tr>
		<th colspan="2" rowspan="2">Depth of each ramus</th>
		<td datatype="xs:integer">4</td>
		<td datatype="xs:integer">9</td>
	</tr>
	<tr>
		<th colspan="2" />
		<td datatype="xs:integer">3</td>
		<td datatype="xs:integer">18</td>
	</tr>
</table>
	

Attribute content model

some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The RDFa prefix attribute

Description

The prefix attribute associates RDFa vocabulary namespace prefixes and URIs, as defined in RDFa Core 1.1.

The prefix attribute may optionally be attached to the root document element. Z39.98-AI profiles must not allow the attribute to be attached to any other element.

The prefix attribute must not be used to redefine prefixes or URIs declared in the default context document for the profile.

Usage Example

<document xmlns="http://www.daisy.org/ns/z3998/authoring/" prefix="news: http://www.daisy.org/z3998/2012/vocab/periodicals/" xml:lang="en">
	…
</document>

Parent elements

This attribute occurs on the document element

Attribute content model

some data of type normalizedString compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern \s*([\i-[:]][\c-[:]]*: +[^ ]+)(\s+[\i-[:]][\c-[:]]*: +[^ ]+)*\s*
Back to
main menu

The RDFa property attribute

Description

The property attribute defines a relationship between the subject and either a string (if the content attribute is present) or the content of the element that the property attribute is on.

Usage Example

<head>
	<meta typeof="dramatis-personae">
		<meta xml:id="alice" about="#alice" property="persona">
			<name>Alice</name>
		</meta>
	</meta>
</head>
	

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The RDFa rel attribute

Description

The rel attribute defines a relation between the subject and a URL given by the resource attribute.

The rev attribute expresses the inverse relation.

Usage Example

<head>
	…
	<meta rel="z3998:profile" resource="http://example.org/z3998/2012/auth/profiles/sciencejournal/1.0/">
		<meta property="z3998:name" content="sciencejournal" />
		<meta property="z3998:version" content="1.0" />
	</meta>
	…
</head>
	

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The RDFa resource attribute

Description

The resource attribute specifies an object URI for the rev and rel attributes, if the attribute href is not present.

Attribute content model

some data of type anyURI compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
The anyURI datatype: A Uniform Resource Identifier Reference, as defined by the anyURI type in XML Schema Part2.
Back to
main menu

The RDFa rev attribute

Description

The rev attribute defines a relation between the subject and a URL given by the resource attribute.

The rel attribute expresses the inverse relation.

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.
Back to
main menu

The RDFa typeof attribute

Description

The typeof attribute creates a blank node, which becomes the subject, and asserts that the current element contains relationships that match the given RDF type.

Usage Example

<head>
	<meta typeof="dramatis-personae">
		<meta xml:id="alice" about="#alice" property="persona">
			<name>Alice</name>
		</meta>
	</meta>
</head>
	

Attribute content model

a white space separated list of
one or more of
some data of type string compliant with the data type library http://www.w3.org/2001/XMLSchema-datatypes
the data must be compliant with the pattern (([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
The CURIE datatype : A single CURIE, as defined in RDFa.