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
- Get XML attribute by name
XMLString :: attribute ( sName ) - Get attribute by index
XMLString :: attribute ( iNumber )
Implementation details
-
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
to list
-
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)
to list