Documentation Language: Swift

Enumeration

XMLNamespace

XML namespace attribute names used in document parsing.

enum XMLNamespace

Overview

Provides type-safe access to standard XML namespace declaration attributes. These are used during XMI parsing to resolve namespace URIs for metamodel lookup.

Usage

let defaultNS = element[XMLNamespace.xmlns]
let prefixedNS = element["xmlns:\(prefix)"]

Topics

Type Properties

?
xmlns

Default namespace declaration attribute.

Type Methods

?
prefixed(_:)

Namespace prefix for generating xmlns:prefix attributes.