klyn.io.xml.sax.SAXAttributes.add
method
public add(uri as String, localName as String, qName as String, type as String = "CDATA", value as String = "", declared as Boolean = false, specified as Boolean = true) as Void:
Description

Adds one attribute to the collection.

Parameters
ParameterDescription
uriNamespace URI, or empty string.
localNameLocal attribute name, or empty string when unavailable.
qNameQualified attribute name.
typeAttribute type, usually CDATA.
valueAttribute value.
declaredTrue when the attribute was declared in a DTD.
specifiedTrue when the attribute was present in the source text.
Example
attrs.add("", "class", "class", "CDATA", "featured")