Such a thing doesn't really exist - the kernel doesn't know anything about the document structure, it just gets chunks of code to execute.