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, Pull, SAX, Searchable, Serialization Classes: Attr, CDATA, Comment, DocType, Document, DocumentFragment, Element, Error, Iterparse, Namespace, Node, NodeSet, ParseError, ParseOptions, ProcessingInstruction, Text, UseAfterFreeError, XPath, 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.
30 31 32 |
# File 'lib/leptris/xml.rb', line 30 def self.parse(xml_or_io, options: nil) Document.parse(xml_or_io, options: ) end |
.parse_file(path) ⇒ Object
34 35 36 |
# File 'lib/leptris/xml.rb', line 34 def self.parse_file(path) Document.parse_file(path) end |