Class

XSD::NS

Inheritance
< Object

Classes & Modules

Constants

Name   Description
ParseRegexp = Regexp.new('^([^:]+)(?::(.+))?$') $1 and $2 are necessary.

Attributes

Name Visibility R/W Description
default_namespace public R

Methods

Class

Visibility Signature
public new (tag2ns = {})

Instance

Visibility Signature
public assign (ns, tag = nil)
public assigned? (ns)
public assigned_tag? (tag)
public clone_ns ()
public compare (ns, name, rhs)
public each_ns () {|ns, tag| ...}
public name (name)
public parse (str, local = false)
public parse_local (elem)
protected assigner= (assigner)

Class Method Detail

new(tag2ns = {})

Instance Method Detail

assign(ns, tag = nil)

assigned?(ns)

assigned_tag?(tag)

clone_ns()

compare(ns, name, rhs)

each_ns() {|ns, tag| ...}

name(name)

parse(str, local = false)

parse_local(elem)

For local attribute key parsing

  <foo xmlns="urn:a" xmlns:n1="urn:a" bar="1" n1:baz="2" />
    =>
  {}bar, {urn:a}baz

assigner=(assigner)