Rephrased parts of the README.
This commit is contained in:
parent
fccc6359e1
commit
e0f8965616
12
README.md
12
README.md
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
Oga is an XML/HTML parser written in Ruby. Oga aims to provide an easy to use
|
Oga is an XML/HTML parser written in Ruby. Oga aims to provide an easy to use
|
||||||
and high performance API for all your XML/HTML parsing needs. Oga requires
|
and high performance API for all your XML/HTML parsing needs. Oga requires
|
||||||
nothing other than Ruby, it does not depend on libxml and the likes.
|
nothing other than Ruby, it does not depend on libxml or other system libraries.
|
||||||
|
|
||||||
To achieve high performance Oga uses a C or Java extension depending on your
|
Oga uses a small native extension (C for MRI/Rubinius, Java for JRuby) to
|
||||||
Ruby platform. Pure Ruby is sadly not fast enough to process large amounts of
|
speed up the process of lexing XML into tokens. Initial prototypes used a pure
|
||||||
text in reasonable time.
|
Ruby setup but this proved to be too slow when consuming large input sizes.
|
||||||
|
|
||||||
From [Wikipedia][oga-wikipedia]:
|
From [Wikipedia][oga-wikipedia]:
|
||||||
|
|
||||||
|
@ -62,9 +62,9 @@ Modifying a document and serializing it back to XML:
|
||||||
* Support for parsing XML and HTML(5)
|
* Support for parsing XML and HTML(5)
|
||||||
* DOM parsing
|
* DOM parsing
|
||||||
* Stream/pull parsing
|
* Stream/pull parsing
|
||||||
* High performance and low memory usage (depending on the parsing API)
|
* Low memory footprint
|
||||||
|
* High performance, if something doesn't perform well enough it's a bug
|
||||||
* Support for XPath 1.0
|
* Support for XPath 1.0
|
||||||
* CSS selectors support (planned)
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue