xml-motor 0.0.2
A new short XML Parsing Algorithm implemented directly in >500 lines. An easy-to-use XML Parser without any Native Dependencies. [How To Use]: \ Loading: + $ gem install xml-motor + 'require' the 'xml-motor' \ Usage: + To find values of an xml node from an xml file XMLMotor.get_node_from_file , + To find values of an xml node from an xml string \ XMLMotor.get_node_from_content , + To find values of an xml node with a tag_name having required attribute XMLMotor.get_node_from_content , , "=" Example Calls As Code: + XMLMotor.get_node_from_content "<a>a</a><b><a>ba</a></b>", "A" \ RETURNS: ["a", "ba"] + XMLMotor.get_node_from_content "<a>a</a><b><a>ba</a></b>", "B.A" RETURNS: ["ba"] + XMLMotor.get_node_from_content "<a>a</a><b><a>ba</a></b>", "A", "i='1'" RETURNS: ["a"]