Processing then begins with the root element, and all nodes in the tree are processed according to the following rules, depth-first:
xmlns
atttribute. The value to be mapped is set by the XML namespace prefix,
and the value to map is the value of the
attribute--a URI. Note that the URI is not processed in any way; in
particular if it is a relative path it is not resolved against the
[current base]. Authors are advised to follow best practice for
using namespaces, which includes not using relative paths. (See [xyz].)xml:lang
, or the HTML attribute lang
.@about
. Note that the final value of the [current resource] is an absolute URI, which means that if @about
contains a relative path the value must be normalised against [base] in
the [current evaluation context], using the algorithm defined in RFC
3986.true
; the [change resource] flag is set to false
resource
. If there is no resource
attribute then the HTML src
attribute is used, and if that is not present, the HTML href
attribute is used. If
none of these are present then a unique identifier or [bnode] is
created. Note that the final value of the [current object resource] is
an absolute URI, which means that if any of these attributes
contain relative paths they must be normalised against [base] in the
[current evaluation context], using the algorithm defined in RFC 3986.content
attribute is present, or the body of the [current element] contains only
text (i.e., there are no child elements), or the body of the [current element] does have child elements but the datatype
attribute has an empty value. Additionally, if
there is a value for [current language] then the value of the [plain
literal] should include this language information, as described
here:???. The actual literal is either the value of the
content
attribute (if present) or a string created by concatenating the inner content of each of the children in turn, of the [current element].datatype
attribute is present, and does not have an empty value. The actual literal is
either the value of the content
attribute (if present) or a string created by concatenating the inner content of each of the children in turn, of the [current element]. The
final string includes the datatype, as described here:???datatype
attribute is not present. The value of
the [XML literal] is a string created from the inner content of the [current element], i.e., not including the element itself.property
attribute. If present, the attribute must contain one or more [basic curies], each
of which is converted to an absolute URI using CURIE processing rules, and then used to generate a triple as follows:
content
attribute is not present then the [chaining] flag is set to false
instanceof
attribute. If present, the attribute must contain one or more [basic
curies], each of which is converted to an absolute URI using CURIE
processing rules, and then used to generate a triple as follows: true
.@rel
and @rev
attributes.rel
attribute must contain one or more [basic curies], each of which is
converted to an absolute URI using CURIE processing rules, and then
used to generate a triple as
follows: rev
attribute must contain one or
more [basic curies], each of which is converted to an absolute URI
using CURIE processing rules, and then used to generate a triple as
follows: true
.
true
.
true
then the [current resource] is set to the value of the [current object resource], and the [chaining] flag is set to false
.
true
then the [current resource] is set to the value of the [current object resource]
instanceof
attribute. If present, the attribute must contain one or more [basic
curies], each of which is converted to an absolute URI using CURIE
processing rules, and then used to generate a triple as follows: true
, the depth-first processing of the child nodes continue, otherwise the process ends (for the [current element])NOTE: The recursive aspect of this needs to be explained a little better, in particular when we get stuff back off the stack.