Ruby & XML

Hello

xml {} produce carriage return

Exemple : xml.id { xml.cdata!(1)}
=>

#################################
BUT i need:

( without carriage return )

Any idea how to make that ?
I am stuck…

( without carriage return )

Any idea how to make that ?
I am stuck…

.strip?
-rp

Thanks but no,
the “{” makes carriage return

As far as i know, this can not be stringify and stripped.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs