var searchIndex = {}; searchIndex["rquery"] = {"doc":"This library offers the ability to represent XML documents as DOM trees,\nallowing querying with CSS selectors.","items":[[3,"Document","rquery","The DOM tree representation of the parsed document.",null,null],[3,"CompoundSelector","","Represents a component of a parsed CSS selector is used to match a single\nelement.",null,null],[12,"scope","","The scope of the selector.",0,null],[12,"parts","","The individual parts that make up the compound selector.",0,null],[3,"Element","","Represents a single element in the DOM tree.",null,null],[4,"Scope","","The scope of the `CompoundSelector`.",null,null],[13,"DirectChild","","Implies that the selector must be a direct descendent of the previous\nmatch (e.g. `body > header`).",1,null],[13,"IndirectChild","","Implies that the selector is a descendent of the previous match (e.g.,\n`body header`).",1,null],[4,"Selector","","The individual parts of the `CompoundSelector`. For example, the selector\n`input[type="radio"]` has two parts, the `TagName` and `Attribute`\nselectors.",null,null],[13,"TagName","","Represents a tag name selector (e.g. `input`)",2,null],[13,"Attribute","","Represents an attribute selector (e.g. `[type="radio"]`)",2,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"clone","","",1,null],[11,"clone","","",2,null],[11,"parse","","Parses the string and converts it to a list of `CompoundSelector`s.",0,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"new_from_xml_stream","","Creates a new document from a byte stream.",3,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[11,"new_from_xml_string","","Creates a new document from a string.",3,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"new_from_xml_file","","Creates a new document from a file.",3,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"number_of_elements","","Returns the total number of elements in the document.",3,null],[11,"select_all","","Searches the document for elements matching the given CSS selector.",3,null],[11,"select","","Just like `select_all` but only returns the first match.",3,null],[11,"select_all","","Searches the elements children for elements matching the given CSS\nselector.",4,null],[11,"select","","Just like `select_all` but only returns the first match.",4,null],[11,"children_iter","","Returns an iterator over the element’s direct children.",4,null],[11,"children_deep_iter","","Returns an iterator over all the element’s children, including indirect\nchild elements.",4,null],[11,"subtree_size","","Returns the size of the DOM subtree, including the current element.",4,null],[11,"tag_name","","Returns the name of the element’s tag.",4,null],[11,"attr","","Returns the value of the element attribute if found.",4,null],[11,"text","","Returns the text contained within the element.",4,null],[11,"matches","","Returns true if the element matches the given selector.",4,null]],"paths":[[3,"CompoundSelector"],[4,"Scope"],[4,"Selector"],[3,"Document"],[3,"Element"]]}; initSearch(searchIndex);