IsXmlAttribute()

Determines whether the function parameter is an XML Document Object Model (DOM) attribute node.

IsXmlAttribute( value=any );

Returns: Boolean

Argument Description
value
any, required

Name of an XML attribute

Examples

myPath='<note><from body="sample">Bob</from></note>';
	lastnames = XmlSearch(myPath, '//@body');
	writeDump(lastnames);
	writeOutput(isXMLAttribute(lastnames[1]));

See also