getAttr (method)

Returns the value of the specified attribute.

Syntax

- (NSString*)getAttr:(NSString*)attrName;
public func getAttr(_ attrName: String) throws -> String

Remarks

This method returns the value of the attribute specified by the AttrName parameter.

If the attribute does not exist an empty string is returned. The behavior when an attribute does not exit is controlled by ErrorOnEmptyAttr.

Please refer to the AttrName, AttrNamespace, AttrPrefix, and AttrValue properties for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]