# QName

## Overview

QName, related to inline xml - as supported by the Rhino engine (but the support for direct XML inside javascript source code - as proposed by standards (Ecma-357) - is deprecated).

## Properties Summarized

| Type                                                                         | Name                    | Summary                                               |
| ---------------------------------------------------------------------------- | ----------------------- | ----------------------------------------------------- |
| [String](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/string) | [localName](#localname) | Identifies the local name of the QName.               |
| [String](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/string) | [uri](#uri)             | Identifies the namespace of the QName, if applicable. |

## Properties Detailed

### localName

Identifies the local name of the QName.

**Type**\
[String](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/string)

**Sample**

```js
var Qnamevar = new QName('http://www.w3.org/1999/xhtml', 'author');
application.output(Qnamevar.localName);
application.output(Qnamevar.uri);
```

### uri

Identifies the namespace of the QName, if applicable.

**Type**\
[String](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/string)

**Sample**

```js
var Qnamevar = new QName('http://www.w3.org/1999/xhtml', 'author');
application.output(Qnamevar.localName);
application.output(Qnamevar.uri);
```

***
