// lets iterate through finding all comments which are then added to a description node
int idx = 0;
List<Node> nodes = e.getNodes();
for (Node node: nodes.toArray(new Node[nodes.size()])) {
if (node instanceof Comment) {
Comment c = (Comment) node;
Token token = c.getToken();
if (token != null) {
String text = token.getText().trim().replace("<!--", "").replace("-->", "").trim();
Element descr = findOrCreateDescriptionOnNextElement(e, idx, root);
if (descr == null) {
// lets move the comment node to before the root element...