XMLString :: element - Get subordinated XML element
The function returns a subordinated XML element ( XMLString ).
Return value: - internal feature (not documented) ( odaba::utils::XMLString )
Implementation overview
- Get XML element by name
XMLString :: element ( sName, bRecursive ) - Get sub-element by index
XMLString :: element ( iNumber )
Implementation details
-
Get XML element by name
odaba::utils::XMLString XMLString  :: element ( odaba::String &sName, bool bRecursive )
The function returns the XML element with the name passed in sName . The name contains simply the attribute name or a scoped name. In order to search the name recursively in the XML element hierarchy, true has to be passed in bRecursive .
When no such element exists, the function returns an invalid XML string ( isValid() is false).
- sName - Name
- bRecursive
- Process recursive
The function is called recursively for subordinated elements.
to list
-
Get sub-element by index
odaba::utils::XMLString XMLString  :: element ( int32 iNumber )
The function returns the sub-element for the index passed in iNumber (relative 0). When no such element exists, the function returns an invalid XML string ( isValid() is false).
- iNumber - - internal feature (not documented)
to list