The returned sequence is not live.
137138139140141142143144145146147
// Pop the temporary buffer of the stack. outputBufferStack.popOutputBuffer(buffer); // Replace the current element with the contents of the // temporary buffer. NodeSequence sequence = buffer.removeContents(); element.replaceWith(sequence); } } } }