c.push(); System.out.println(generateXPath(c, null, ns)); c.pop();
c.toNextSibling();
c.toNextSibling(); // on the last <c>
c.push(); System.out.println(generateXPath(c, null, ns)); c.pop();
XmlCursor d = c.newCursor();
d.toParent();
c.push(); System.out.println(generateXPath(c, d, ns)); c.pop();
d.toParent();
c.push(); System.out.println(generateXPath(c, d, ns)); c.pop();
c.toFirstContentToken(); // on text content of the last <c>
c.push(); System.out.println(generateXPath(c, d, ns)); c.pop();