OMElement child = element.getFirstElement();
assertEquals("Child element name", "type", child.getLocalName());
assertEquals("Child element namespace",
"http://www.sosnoski.com/uwjws/library",
child.getNamespace().getNamespaceURI());
OMNode next = child.getNextOMSibling();
assertTrue("Expected child element", next instanceof OMElement);
next = next.getNextOMSibling();
assertTrue("Expected child element", next instanceof OMElement);
child = (OMElement) next;
assertEquals("Child element name", "book", child.getLocalName());
assertEquals("Child element namespace",
"http://www.sosnoski.com/uwjws/library",