Saxon API for .NET |

# QName Constructor

Construct a QName using a namespace URI and a lexical representation. The lexical representation may be a local name on its own, or it may be in the form `prefix:local-name`

#### Overload List

Construct a QName from a lexical QName, supplying an element node whose in-scope namespaces are to be used to resolve any prefix contained in the QName.

> public QName(string,XdmNode);

Construct a QName using a namespace URI and a lexical representation. The lexical representation may be a local name on its own, or it may be in the form `prefix:local-name`

> public QName(string,string);

Construct a QName using a namespace prefix, a namespace URI, and a local name (in that order).

> public QName(string,string,string);

Construct a `QName` from an `XmlQualifiedName` (as defined in the `System.Xml` package).

> public QName(XmlQualifiedName);

#### See Also

QName Class | Saxon.Api Namespace