IPWorks 2020 JavaScript Edition

Questions / Feedback?

GetAttr Method

Returns the value of the specified attribute.

Syntax

xml.getAttr(attrName : string): 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 XAttributesName, XAttributesNamespace, XAttributesPrefix, and XAttributesValue properties for more information.

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