Class String
In: lib/builder/xchar.rb
Parent: Object

Enhance the String class with a XML escaped character version of to_s.

Methods

to_xs  

Public Instance methods

XML escaped version of to_s. When escape is set to false the CP1252 fix is still applied but utf-8 characters are not converted to character entities.

[Validate]