wwUtils::GetAttribute

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

foxpro
foxpro
* 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

Library wwUtils

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic