HTree::Context (Class)

In: htree/context.rb
htree/modules.rb
Parent: Object

Methods

Attributes

namespaces  [R] 

Included Modules

Public Class methods

The optional argument `namespaces’ should be a hash or nil. HTree:DefaultNamespaces is used if nil is specified.

If it is a hash, its key should be nil or a string. nil means default namespace. The string means some prefix which must not be empty.

The hash value should be a string. The empty string "" means unbound namespace.

Public Instance methods

get a namespace URI corresponding to prefix.

generate a new Context object which namespaces are substituted by a hash declared_namespaces.

[Validate]