GetAttr Method

Returns the value of the specified attribute.

Syntax

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 Name, Namespace, Prefix, and Value properties for more information.

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