private void parse(Document doc) {
E bodyElement = Blips.getBody(doc);
if (bodyElement != null) {
N child = doc.getFirstChild(bodyElement);
while (child != null) {
T asText = doc.asText(child);
int xmlPos = doc.getLocation(child);
if (asText != null) {
bits.add(new Bit(doc.getData(asText), xmlPos));
} else {
E xmlElement = doc.asElement(child);