diff --git a/README.md b/README.md index 2cd753a..70243c5 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ Querying a document using XPath: document.xpath('string(people/person)') # => "Alice" +Querying a document using CSS: + + document = Oga.parse_xml('Alice') + + document.css('people person') # => NodeSet(Element(name: "person" ...)) + Modifying a document and serializing it back to XML: document = Oga.parse_xml('Alice')