- 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
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)