company logo

XMLString :: hasAttribute - Has XML element attribute

XML attributes are defined in the XML tag usually by using keywords.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool XMLString  :: hasAttribute ( odaba::String &sName )

The function returns true, when the XML element (XMLString) contains an attribute with the name passed in sName and false otherwise.

  • sName - Name