void (final FormatStack fstack, final NamespaceStack nstack, final org.w3c.dom.Document basedoc, final Node target, final Walker walker) { while (walker.hasNext()) { final Content c = walker.next(); Node n; if (c == null) { // Formatted Text or CDATA final String text = walker.text(); if (walker.isCDATA()) { n = printCDATA(basedoc, new CDATA(text)); } else { n = printText(basedoc, new Text(text)); } } else { n = helperContentDispatcher(fstack, nstack, basedoc, c); } if (n != null) { target.appendChild(n); } } }