Module: Canon::Xml

Defined in:
lib/canon/xml.rb,
lib/canon/xml/c14n.rb,
lib/canon/xml/node.rb,
lib/canon/xml/nodes.rb,
lib/canon/xml/processor.rb,
lib/canon/xml/data_model.rb,
lib/canon/xml/sax_builder.rb,
lib/canon/xml/xpath_engine.rb,
lib/canon/xml/element_matcher.rb,
lib/canon/xml/nodes/root_node.rb,
lib/canon/xml/nodes/text_node.rb,
lib/canon/xml/namespace_helper.rb,
lib/canon/xml/xml_base_handler.rb,
lib/canon/xml/attribute_handler.rb,
lib/canon/xml/character_encoder.rb,
lib/canon/xml/line_range_mapper.rb,
lib/canon/xml/namespace_handler.rb,
lib/canon/xml/nodes/comment_node.rb,
lib/canon/xml/nodes/element_node.rb,
lib/canon/xml/nodes/attribute_node.rb,
lib/canon/xml/nodes/namespace_node.rb,
lib/canon/xml/whitespace_normalizer.rb,
lib/canon/xml/nodes/processing_instruction_node.rb

Overview

Native XML data model, parsing, and DOM utilities.

This namespace holds Canon’s own XML representation (independent of Nokogiri/Moxml), including:

  • the XPath data model nodes (Canon::Xml::Node and Canon::Xml::Nodes::*)

  • the SAX builder that produces them

  • element matching, line-range mapping, xpath, C14N, processors

  • canonicalization (C14n) and serialization helpers

All children are autoloaded from this file. The nested Nodes namespace is itself a sibling and is autoloaded on first reference to Canon::Xml::Nodes.

Defined Under Namespace

Modules: NamespaceHelper, Nodes Classes: AttributeHandler, C14n, CharacterEncoder, DataModel, ElementMatcher, LineRangeMapper, NamespaceHandler, Node, Processor, SaxBuilder, WhitespaceNormalizer, XPathEngine, XmlBaseHandler