string xmlReaderGetContent(xmlReader reader)
xmlReaderGetContent() returns the text content of the current
node. If you are on a text node or an attribute, It will simply be
their value. If you're on an element, it will be a concatenation of
all of the element's text values.
<$content = (xmlReaderGetContent($reader))>
If you are on the opening of an element, the parser must read ahead, up to the closing of that element, in order to make sure it sees all the text nodes. In other words, if you're working with a 2GB XML file, you probably don't want to call
the root node.