User Tools

Site Tools


DzDomAttr

DAZ Script DOM attribute node.

More...

Inherits :

Properties

DAZ Script
Stringname
Stringvalue

Constructors

DAZ Script
DzDomAttr ()

Methods

Detailed Description

Represents an attribute node in a DOM document.

Properties


String : name

[Read Only] The name of the attribute.


String : value

The value of the attribute.

Constructors


DzDomAttr()

Default constructor. Typically, you will not construct these directly, but will call DzDomElement::setAttribute() or DzDomDocument::createAttribute() to create a new attribute node as a member of an existing element or document.

Methods


DzDomNode : ownerElement()

Return Value:

  • The element that this attribute belongs to.

Boolean : specified()

Return Value:

  • true if the attribute has a value, false if no value was sepcified for the attribute.