xml_attribute

Gets attribute value

Arguments

  1. XML document or element object
  2. String attribute name

Output

String. Empty string if attribute does not exist