Use fm:remove to remove XML nodes (elements, text, other) from a DOM using XPath.
This is simple but dangerous as entire legs of data can be obliterated in one foul swoop.
<fm:remove match="/*/PON15B"/>
<fm:remove match="/*/FAC_NAME | /*/FAC_TYPE | /*/FIELD_NAME"/>
<fm:remove match="./CHEMICAL_LIST/CHEMICAL[SELECT_FLAG='true']"/>
Please use your XX_EMPLOYEEMODULE (where XX are your initials) file for the following exercises.
Write a remove statement in the module’s entry-theme to remove the COMPANY_INFO from the Theme DOM.
Write a remove statement in the module’s entry-theme to remove the last EMPLOYEE entry from the ROOT DOM.
Rewrite the previous remove statement so that it removes the last EMPLOYEE’s elements, but leaves the EMPLOYEE element.
Rewrite the previous remove statement so that it removes the whole EMPLOYEE_LIST.