IsXmlAttribute()
Determines whether the function parameter is an XML Document Object Model (DOM) attribute node.
IsXmlAttribute( value=any );
Returns: Boolean
Examples
myPath='<note><from body="sample">Bob</from></note>';
lastnames = XmlSearch(myPath, '//@body');
writeDump(lastnames);
writeOutput(isXMLAttribute(lastnames[1]));
See also
- Decision logic
- XML
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)