Method CreateAttribute
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Dom.dll
CreateAttribute(string, string, string)
Creates an XmlAttribute with the specified Prefix, LocalName, and NamespaceURI.
public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceURI)
Parameters
prefix
stringThe prefix of the attribute (if any). String.Empty and null are equivalent.
localName
stringThe local name of the attribute.
namespaceURI
stringThe namespace URI of the attribute (if any). String.Empty and null are equivalent. If
prefix
is xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown.
Returns
- XmlAttribute
The new XmlAttribute.