instance method parse

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3 Private

Signature

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.

Parameters

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

Defined in activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb line 951 · View on GitHub · Improve this page · Find usages on GitHub

Defined in XmlSimple

Type at least 2 characters to search.

↑↓ navigate · open · esc close