selector

Parent Previous Next

selector


The selector attribute uses the Workbench Path Language or a Selector to select one or more objects for use by the current node. The selector is always scoped to the parent node.


Important Note:

For more information on the Workbench Path Language syntax used within a structure map selector, please click here.


Syntax

This ChildObjectsSubStructure node returns all children of the Databases node and attempts to match each child's object type to another structure map for use within the Documentation:


<ChildObjectsSubStructure selector="./Databases/" />



This ChildObjects node returns all children of the parent node in which the Property named "FunctionType" matches the regular expression string "^Scalar" for use within the Documentation:


<ChildObjects selector="$Object(Path:'./[@FunctionType->&quot;^Scalar&quot;]')" />



Associated Required Nodes

ChildObjects - Used to create child pages within the documentation for each object that matches the selector.  


ChildObjectsSubStructure - Used to explicitly search for another Structure Map that matches the object type for each object that matches the selector.  


Object - Used to create a single child page within the documentation for each the first object that matches the selector.


RecursiveChildObjects - Used to recursively create the entire metadata tree for each object that matches the selector. This child node is most often used during the creation of a Structure Map to help display the entire structure of a set of objects.