|
Returns the number of child markup objects contained in the called markup object.
markup::size_type markup::size();
None
Returns the number of child markup objects contained within the called markup object.
This operation is used to determine the number of children in the called markup object. The operation is only relevant when called on derived element
objects, since element
is the only type derived from markup
which can contain other markup objects. If called on a derived element
object, returns the number of children in the element
.
This operation always returns 0 when called from any markup derived type other than element
, which includes pcdata
, comment
,
and procinstr
.
Constant