Module: REXML
- Defined in:
- lib/extensions/rexml/rexml/rexml.rb,
lib/extensions/rexml/rexml/node.rb,
lib/extensions/rexml/rexml/text.rb,
lib/extensions/rexml/rexml/cdata.rb,
lib/extensions/rexml/rexml/child.rb,
lib/extensions/rexml/rexml/xpath.rb,
lib/extensions/rhoxml/rexml/node.rb,
lib/extensions/rhoxml/rexml/text.rb,
lib/extensions/rexml/rexml/entity.rb,
lib/extensions/rexml/rexml/output.rb,
lib/extensions/rexml/rexml/parent.rb,
lib/extensions/rexml/rexml/source.rb,
lib/extensions/rhoxml/rexml/cdata.rb,
lib/extensions/rhoxml/rexml/child.rb,
lib/extensions/rhoxml/rexml/xpath.rb,
lib/extensions/rexml/rexml/comment.rb,
lib/extensions/rexml/rexml/doctype.rb,
lib/extensions/rexml/rexml/dtd/dtd.rb,
lib/extensions/rexml/rexml/element.rb,
lib/extensions/rexml/rexml/xmldecl.rb,
lib/extensions/rhoxml/rexml/parent.rb,
lib/extensions/rhoxml/rexml/source.rb,
lib/extensions/rexml/rexml/document.rb,
lib/extensions/rexml/rexml/encoding.rb,
lib/extensions/rhoxml/rexml/element.rb,
lib/extensions/rhoxml/rexml/xmldecl.rb,
lib/extensions/rexml/rexml/attribute.rb,
lib/extensions/rexml/rexml/functions.rb,
lib/extensions/rexml/rexml/namespace.rb,
lib/extensions/rexml/rexml/quickpath.rb,
lib/extensions/rexml/rexml/xmltokens.rb,
lib/extensions/rhoxml/rexml/document.rb,
lib/extensions/rhoxml/rexml/document.rb,
lib/extensions/rhoxml/rexml/encoding.rb,
lib/extensions/rexml/rexml/light/node.rb,
lib/extensions/rhoxml/rexml/attribute.rb,
lib/extensions/rhoxml/rexml/namespace.rb,
lib/extensions/rhoxml/rexml/xmltokens.rb,
lib/extensions/rexml/rexml/attlistdecl.rb,
lib/extensions/rexml/rexml/instruction.rb,
lib/extensions/rexml/rexml/sax2listener.rb,
lib/extensions/rexml/rexml/xpath_parser.rb,
lib/extensions/rhoxml/rexml/instruction.rb,
lib/extensions/rhoxml/rexml/xpath_parser.rb,
lib/extensions/rexml/rexml/dtd/entitydecl.rb,
lib/extensions/rexml/rexml/parseexception.rb,
lib/extensions/rexml/rexml/streamlistener.rb,
lib/extensions/rexml/rexml/syncenumerator.rb,
lib/extensions/rexml/rexml/dtd/attlistdecl.rb,
lib/extensions/rexml/rexml/dtd/elementdecl.rb,
lib/extensions/rexml/rexml/encodings/ICONV.rb,
lib/extensions/rexml/rexml/encodings/UNILE.rb,
lib/extensions/rexml/rexml/encodings/UTF-8.rb,
lib/extensions/rhoxml/rexml/parseexception.rb,
lib/extensions/rexml/rexml/dtd/notationdecl.rb,
lib/extensions/rexml/rexml/encodings/EUC-JP.rb,
lib/extensions/rexml/rexml/encodings/UTF-16.rb,
lib/extensions/rhoxml/rexml/encodings/UTF-8.rb,
lib/extensions/rexml/rexml/encodings/CP-1252.rb,
lib/extensions/rexml/rexml/formatters/pretty.rb,
lib/extensions/rhoxml/rexml/encodings/UTF-16.rb,
lib/extensions/rexml/rexml/encodings/US-ASCII.rb,
lib/extensions/rexml/rexml/formatters/default.rb,
lib/extensions/rexml/rexml/parsers/baseparser.rb,
lib/extensions/rexml/rexml/parsers/pullparser.rb,
lib/extensions/rexml/rexml/parsers/sax2parser.rb,
lib/extensions/rexml/rexml/parsers/treeparser.rb,
lib/extensions/rexml/rexml/validation/relaxng.rb,
lib/extensions/rhoxml/rexml/encodings/CP-1252.rb,
lib/extensions/rexml/rexml/encodings/SHIFT-JIS.rb,
lib/extensions/rexml/rexml/parsers/lightparser.rb,
lib/extensions/rexml/rexml/parsers/xpathparser.rb,
lib/extensions/rhoxml/rexml/encodings/US-ASCII.rb,
lib/extensions/rhoxml/rexml/parsers/baseparser.rb,
lib/extensions/rhoxml/rexml/parsers/treeparser.rb,
lib/extensions/rexml/rexml/encodings/ISO-8859-1.rb,
lib/extensions/rexml/rexml/parsers/streamparser.rb,
lib/extensions/rhoxml/rexml/parsers/xpathparser.rb,
lib/extensions/rexml/rexml/encodings/ISO-8859-15.rb,
lib/extensions/rexml/rexml/formatters/transitive.rb,
lib/extensions/rexml/rexml/validation/validation.rb,
lib/extensions/rhoxml/rexml/encodings/ISO-8859-1.rb,
lib/extensions/rhoxml/rexml/parsers/streamparser.rb,
lib/extensions/rexml/rexml/parsers/ultralightparser.rb,
lib/extensions/rexml/rexml/undefinednamespaceexception.rb,
lib/extensions/rexml/rexml/validation/validationexception.rb
Overview
This class was contributed by Mikko Tiihonen mikko DOT tiihonen AT hut DOT fi
Defined Under Namespace
Modules: DTD, Encoding, EntityConst, Formatters, Functions, Light, Namespace, Node, Parsers, SAX2Listener, StreamListener, Validation, XMLTokens Classes: AttlistDecl, Attribute, Attributes, CData, Child, Comment, Declaration, DocType, Document, Element, ElementDecl, Elements, Entity, ExternalEntity, IOSource, Instruction, NotationDecl, Output, Parent, ParseException, QuickPath, Source, SourceFactory, SyncEnumerator, Text, UndefinedNamespaceException, XMLDecl, XPath, XPathParser
Constant Summary collapse
- COPYRIGHT =
"Copyright © 2001-2008 Sean Russell <[email protected]>"
- DATE =
"2008/019"
- VERSION =
"3.1.7.3"
- REVISION =
%w$Revision: 26193 $[1] || ''
- Copyright =
COPYRIGHT
- Version =
VERSION
- @@namespaces =
An implementation note about namespaces: As we parse, when we find namespaces we put them in a hash and assign them a unique ID. We then convert the namespace prefix for the node to the unique ID. This makes namespace lookup much faster for the cost of extra memory use. We save the namespace prefix for the context node and convert it back when we write it.
{}