Topic: Extracting XML from inside a tag using REXML
I am trying to get all of the XML (XHTML specifically) from inside a "content" tag in an Atom 1.0 feed. You can access one of the "content" tags using XPath like this:
What's the easiest route to grabbing everything inside its tag. Do I need to iterate over all of the elements within the tag and append them to a string, or is there a short cut of some kind?