-- remove the doc nodes here, no need to worry about the location since
-- its the same for a doc node and it's child type node
-- remove the doc nodes here, no need to worry about the location since
-- its the same for a doc node and it's child type node