I posted a question on StackOverflow the other day that I thought would
be reasonably easy to answer, but actually, I got nothin’, zilch, nada.
Rather than repeat the question here, here’s the link:
I don’t mind if there’s a way of formatting the XML with something other
than REXML - whatever achieves the result is good with me. Any help
would be really welcome as I’ve spend ages now trying to do this one
stupid thing.
Hi Robert, thanks for the link. I have already spent quite some time
looking over these formatters and I just can’t seem to get the
formatting I want. It’s probably me being stupid, but I can’t see how to
get the result I want.
[Nokogiri] doesn’t use REXML, but does output the formatting you want. Hope that
helps!
Nokogiri looks super-nice. Much simpler than REXML from an initial
glance. I’m going to have a play with it shortly. Already loving the
CSS3 selectors which, for me, coming from a design background, are so
much easier to grok than XPath. Although having said that, I was kind of
getting into XPath since I started playing around with REXML. Cool how
you can mix-and-match in Nokigiri.