# File lib/xml/dom2/dombuilder.rb, line 186 def processingInstruction(name, data) text pi = @document.createProcessingInstruction(name, data) @current.appendChild(pi) end