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)

Return Value

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, 1996-2024 • Updated: 02/27/19
Comment or report problem with topic