what's the best way to format an xml string in ruby?
Posted
by rubiii
on Stack Overflow
See other posts from Stack Overflow
or by rubiii
Published on 2010-03-17T21:05:45Z
Indexed on
2010/03/17
21:51 UTC
Read the original article
Hit count: 218
given an xml string like this:
<some><nested><xml>value</xml></nested></some>
what's the best option (using ruby) to format it into something readable like:
<some>
<nested>
<xml>value</xml>
</nested>
</some>
© Stack Overflow or respective owner