wwUtils::GetAttribute

Retrieves the content of an attribute in an XML or HTML element.

* images/image.png
lcUrl = GetAttribute("<img src="images/image.png" />")
o.GetAttribute(lcElementXml,lcAttribute)

content of the attribute tag or ""

Parameters

lcElementXml
Full element HTML/XML

lcAttribute
The attribute name to retrieve

See also