extract_attribute_value

Function extract_attribute_value 

pub fn extract_attribute_value(content: &str, attribute: &str) -> Option<String>
Expand description

Extract attribute value from XML tag

§Arguments

  • content - The XML tag content
  • attribute - The attribute name to extract

§Returns

Some(String) with the attribute value, or None if not found