change import com.sun.org.apache.xml.internal.serialize with import org.apache.xml.serialize