private Method

XmlSimple.parse(xml_string)

Parses an XML string and returns the according document.

xml_string:XML string to be parsed.

The following exception may be raised:

REXML::ParseException:If the specified file is not wellformed.

Source Code

# File active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 951
def parse(xml_string)
  Document.new(xml_string)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.