|
|||||
Elements: names | |||||
Prerequisite Concepts | Related Syntax |
The name of
operator can be used to provide the name of any opened element. It can be used in a number of different ways:
name of element
is the name of the currently opened element (that is, it is the same as "%q").
name
followed by an element qualifier is the name of the element specified by that qualifier. (For instance, name of parent
is exactly that.)
name of doctype
is the name of the document element.
name of current element x
where "x" is an element alias name, is the name of the element selected by the alias.
The element qualifier that follows name of
must identify a currently opened element. Otherwise, it is an error.
Prerequisite Concepts Elements |
Related Syntax element |
---- |