# Unit xquery.namespaces

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

## Description

## Overview

### Classes, Interfaces, Objects and Records

Name | Description
--- | ---
Interface `INamespace` | Namespace interface, storing url and prefix.
Class `TNamespace` | Class implementing the INamespace interface
Class `TNamespaceList` | List of namespaces

### Functions and Procedures

`function equalNamespaces(const ans, bns: TNamespace): boolean; inline;`
`function equalNamespaces(const ans, bns: string): boolean; inline;`
`function namespaceGetURL(const n: INamespace): string; inline;`
`function isValidNCName(const s: string): boolean;`
`function parseEQName(const eqname: string; out namespaceUrlPrefix, localpart: string): TXQEQNameParseResult;`

### Types

`TXQEQNameParseResult = (...);`

### Constants

`XMLNamespaceUrl_XML = 'http://www.w3.org/XML/1998/namespace';`
`XMLNamespaceUrl_XMLNS = 'http://www.w3.org/2000/xmlns/';`

### Variables

`XMLNamespace_XMLNS: TNamespace;`
`XMLNamespace_XML: TNamespace;`

## Description

### Functions and Procedures

`function equalNamespaces(const ans, bns: TNamespace): boolean; inline;`

`function equalNamespaces(const ans, bns: string): boolean; inline;`

`function namespaceGetURL(const n: INamespace): string; inline;`

`function isValidNCName(const s: string): boolean;`

`function parseEQName(const eqname: string; out namespaceUrlPrefix, localpart: string): TXQEQNameParseResult;`

### Types

`TXQEQNameParseResult = (...);`
###### Values xqeqnPrefixAbsent xqeqnPrefix xqeqnNamespaceUrl xqeqnInvalid

### Constants

`XMLNamespaceUrl_XML = 'http://www.w3.org/XML/1998/namespace';`

`XMLNamespaceUrl_XMLNS = 'http://www.w3.org/2000/xmlns/';`

### Variables

`XMLNamespace_XMLNS: TNamespace;`

`XMLNamespace_XML: TNamespace;`

Generated by PasDoc 0.16.0.