Get the root node and export the header