For those who, like me, are having trouble figuring out the difference between getString() an getInnerXML(), the difference is that getString() does NOT include markup. So, for:<foo>bar<baz>Hello, world!</baz></foo>getString() on the <foo> node would returnbar Hello, world!whereas getInnerXML() would returnbar<baz>Hello, world!</baz>