This section provides about command instructions and functions defined in the VC core vocabulary. For information about an overview of the VC core vocabulary and its elements and attributes, see "VC Core Reference: Element and Attribute."
xvcd:main-elements Element
Describes the condition for combining elements by the xvcd:combine element, or separating an element by the xvcd:split element. Available only within the contents of the xvcd:combine element and the xvcd:split element.
The element of the element group specified by this element can be the apex for the combination or separation.
Attribute:
-
test(mandatory) -
Describes an XPath expression which represents the condition for combining or separating the element. The evaluation result of the XPath expression is a boolean value. If it is true, elements are combined or separated. When evaluating XPath expression, the combined or separated node is the context node.
-
type -
Specifies the condition for the node combination. Specifies one of the following strings.
-
grouped - Enables it to combine elements if the target nodes are included in the same group.
-
strict - Enables it to combine elements if target nodes are element nodes, and all the element names and their attribute values match each other.
If described within the
xvcd:splitelement, thetypeattribute can be omitted. If described within thexvcd:combineelement and omitted, thegroupedis assumed to be specified. -
Content:
The xvcd:main-elements element is empty.