Home > Contents > Index >
OBJECT.CHILDREN
Retrieves children of a particular node.
Syntax
<OBJECT.CHILDREN NAME="name of node" LIST="some list" [OBJECTTYPE="some object type"] [OBJECID="some object id"] [OBJECTVERSION="some object version"] [CODE="selected code"] [ORDER="name1,name2,name3"]/>Parameters
NAME (required)
- Name of the parent node.
LIST (required)
- Specifies the name of the list in the list pool. This is the same list pool used by other Sites tags that generate lists. If a list exists with the same name, it is replaced by the new list.
OBJECTTYPE (optional)
- Specifies a requested object type for the child nodes. It can be used in conjunction with the
objectid
andobjectversion
parameters to request a specific object, or it can be used independently to request all objects of a specific class.
OBJECTID (optional)
- Specifies a requested object identifier for the child nodes. It should be used in conjunction with the
objecttype
parameter, to specify the class of object.
OBJECTVERSION (optional)
- Specifies a requested object version for the child nodes. This parameter is typically used to uniquely identify an object, when used in conjunction with the
objecttype
andobjectid
parameters.
CODE (optional)
- Allows for selection of child nodes based on the code associated with the node.
ORDER (optional)
- Specifies a comma separated list of field names that should be used to order the list of objects.
Description
This tag builds a list of child node objects that meet specified criteria.
errno
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10006 The object ID is not valid. -10007 The version of the object is not valid.Example
The following example retrieves only the child nodes from the
sample
object type from parentnode1
:<OBJECTCHILDREN NAME="node1" LIST="list1" OBJECTYPE="sample"/>See Also
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.