Table of Contents

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 string

The prefix of the attribute (if any). String.Empty and null are equivalent.

localName string

The local name of the attribute.

namespaceURI string

The 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.