class HTML5::Attribute
- HTML5::Attribute
- Reference
- Object
Overview
An Attribute is an attribute namespace-key-value triple. Namespace is non-empty for foreign attributes like xlink, Key is alphabetic (and hence does not contain escapable characters like '&', '<' or '>'), and Val is unescaped (it looks like "a<b" rather than "a<b").
Namespace is only used by the parser, not the tokenizer.
Defined in:
html5/node.crConstructors
Instance Method Summary
- #clone
- #key : String
- #key=(key : String)
- #namespace : String
- #namespace=(namespace : String)
- #val : String
- #val=(val : String)