private Method

XmlSimple.escape_value(data)

Replaces XML markup characters by their external entities.

data:The string to be escaped.

Source Code

# File active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 893
def escape_value(data)
  Text::normalize(data)
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.