HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/rubygems-integration/all/gems/builder-3.2.4/doc/releases/builder-1.2.4.rdoc
= Builder 1.2.4 Released.

Added a "CDATA" method to the XML Markup builder (from Josh Knowles).

== What is Builder?

Builder::XmlMarkup allows easy programmatic creation of XML markup.
For example:

  builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2)
  builder.person { |b| b.name("Jim"); b.phone("555-1234") }
  puts builder.target!

will generate:

  <person>
    <name>Jim</name>
    <phone>555-1234</phone>
  </person>

== Availability

The easiest way to get and install builder is via RubyGems ...

  gem install builder    (you may need root/admin privileges)

== Thanks

* Josh Knowles for the cdata! patch.

-- Jim Weirich