wwXML::AddDomAttribute

Creates or modifies an attribute on an XMLDOM node.

o.AddDomAttribute(loNode,lcName,lcValue,lcNameSpace)

Return Value

nothing

Parameters

loNode
The XML Document node on which the attribute is set.

lcName
The name of the attribute.

lcValue
The string value of the attribute.

lcNameSpace
Optional Xml namespace to apply to the attribute.

Remarks

Requires that the .oXml property is set with a DOM instance. Either load with Load, LoadXml, LoadUrl or assign the DOM instance to .oXml prior to calling this method.


See also:

Class wwXML

© West Wind Technologies, 1996-2024 • Updated: 03/22/11
Comment or report problem with topic