company logo

XMLString :: element - Get subordinated XML element

The function returns a subordinated XML element as XMLString.

Return value:   - internal feature (not documented) ( odaba::utils::XMLString  )

Implementation overview

Implementation details

  1. 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.

  2. to list
  3. 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)
  4. to list