company logo

XMLString :: attribute - Get XML attribute

The function returns an XML attribute for the currently selected XML element (XMLString).

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

Implementation overview

Implementation details

  1. Get XML attribute by name
    odaba::utils::XMLString XMLString  :: attribute ( odaba::String &sName )

    The function returns the XML attribute with the name passed in sName. The name contains simply the attribute name or a scoped name. When no such attribute exists, the function returns an invalid XML string (isValid() is false).

    • sName - Name
  2. to list
  3. Get attribute by index
    odaba::utils::XMLString XMLString  :: attribute ( int32 iNumber )

    The function returns the element attribute for the index passed in iNumber (relative 0). When no such attribute exists, the function returns an invalid XML string (isValid() is false).

    • iNumber - - internal feature (not documented)
  4. to list