genEmptyElem
This function generates a list of empty elements for the given QName.
Signature:
ora:genEmptyElem('ElemQName',size?, 'TypeQName'?, xsiNil?)
Arguments:
-
ElemQName: The first argument is the QName of the empty elements. -
size: The second optional integer argument for the number of empty elements. If missing, the default size is1. -
TypeQName: The third optional argument is the QName, which is thexsi:typeof the generated empty name. Thisxsi:typepattern matchesSOAPENC:Array. If missing or an empty string, thexsi:typeattribute is not generated. -
xsiNil: The fourth optional boolean argument is to specify whether the generated empty elements areXSI - nil, provided the element is XSD-nillable. The default isfalse. If missing orfalse,xsi:nilis not generated.
Property IDs:
-
namespace-uri:http://schemas.oracle.com/xpath/extension -
namespace-prefix:ora
For more information about this function, see Generating Functionality Equivalent to an Array of an Empty Element.