Java tutorial
//package com.java2s; import org.w3c.dom.Document; import org.w3c.dom.NodeList; public class Main { public static NodeList getChildNodes(Document document) { return document.getDocumentElement().getChildNodes(); } }