Module: Leptris::XML
- Defined in:
- lib/leptris/xml.rb,
lib/leptris/xml/ffi.rb,
lib/leptris/xml/sax.rb,
lib/leptris/xml/css_to_xpath.rb
Defined Under Namespace
Modules: CStringArray, CssToXPath, FFI, SAX, Searchable, Serialization Classes: Attr, CDATA, Comment, DocType, Document, DocumentFragment, Element, Error, Namespace, Node, NodeSet, ParseError, ParseOptions, ProcessingInstruction, Text, UseAfterFreeError, XPathError
Class Method Summary collapse
-
.parse(xml_or_io, options: nil) ⇒ Object
Nokogiri-style top-level entry points (Nokogiri::XML(...) / Nokogiri::XML.parse).
- .parse_file(path) ⇒ Object
Class Method Details
.parse(xml_or_io, options: nil) ⇒ Object
Nokogiri-style top-level entry points (Nokogiri::XML(...) / Nokogiri::XML.parse). Delegates to Document.parse.
27 28 29 |
# File 'lib/leptris/xml.rb', line 27 def self.parse(xml_or_io, options: nil) Document.parse(xml_or_io, options: ) end |
.parse_file(path) ⇒ Object
31 32 33 |
# File 'lib/leptris/xml.rb', line 31 def self.parse_file(path) Document.parse_file(path) end |