class

KXML::NamespaceNode

Inherits KXML::Node < Reference < Object

A synthesized namespace node for XPath's namespace axis: the DOM stores namespaces as attributes, but namespace::* must surface them as nodes whose name is the prefix ("" for the default) and whose string-value is the URI. Never produced by the parser, only by XPath evaluation over the element's in-scope bindings.

Constructors

new(prefix : String | Nil, href : String, owner : Element)
Source

Instance methods

href
Source
owner
Source
prefix
Source
to_xml(io : IO) : Nil
Source